Thursday, March 29, 2012
Newbie - Protecting source code
ripped off when I load it onto a 3rd party web server? (Someone copying the
.cs files, and removing them)
Is there a way to compile these .cs files for the ASP.NET pages to read.If you're using VS.NET, compile the project,
and only upload the dll's and .aspx files to your
server or, if you're not using VS.NET, compile
the assemblies ( dlls ) from the command line
and deploy them, with your .aspx files, to the server.
Juan T. Llibre
ASP.NET MVP
===========
"Fronky" <nospam@.nospam.com> wrote in message
news:OJmXokTCFHA.2032@.tk2msftngp13.phx.gbl...
> If I create an ASP.NET (c#) web application, how can I prevent my code
> being
> ripped off when I load it onto a 3rd party web server? (Someone copying
> the
> .cs files, and removing them)
> Is there a way to compile these .cs files for the ASP.NET pages to read.
>
Sorted it! Thanks for your help!
"Juan T. Llibre" <nomailreplies@.nowhere.com> wrote in message
news:uxQbcyTCFHA.1396@.TK2MSFTNGP14.phx.gbl...
> If you're using VS.NET, compile the project,
> and only upload the dll's and .aspx files to your
> server or, if you're not using VS.NET, compile
> the assemblies ( dlls ) from the command line
> and deploy them, with your .aspx files, to the server.
>
>
> Juan T. Llibre
> ASP.NET MVP
> ===========
> "Fronky" <nospam@.nospam.com> wrote in message
> news:OJmXokTCFHA.2032@.tk2msftngp13.phx.gbl...
>
Of course, if the security on the server is such that someone could view the
source code of your ASP.Net pages, you have a more serious problem.
HTH,
Kevin Spencer
Microsoft MVP
.Net Developer
Neither a follower nor a lender be.
"Fronky" <nospam@.nospam.com> wrote in message
news:u5HmNDUCFHA.520@.TK2MSFTNGP09.phx.gbl...
> Sorted it! Thanks for your help!
>
> "Juan T. Llibre" <nomailreplies@.nowhere.com> wrote in message
> news:uxQbcyTCFHA.1396@.TK2MSFTNGP14.phx.gbl...
>
"Kevin Spencer" <kevin@.DIESPAMMERSDIEtakempis.com> wrote in message
news:O$DN%23pVCFHA.3976@.tk2msftngp13.phx.gbl...
> Of course, if the security on the server is such that someone could view
> the source code of your ASP.Net pages, you have a more serious problem.
LOL! Absolutely!
Newbie - Protecting source code
ripped off when I load it onto a 3rd party web server? (Someone copying the
..cs files, and removing them)
Is there a way to compile these .cs files for the ASP.NET pages to read.If you're using VS.NET, compile the project,
and only upload the dll's and .aspx files to your
server or, if you're not using VS.NET, compile
the assemblies ( dlls ) from the command line
and deploy them, with your .aspx files, to the server.
Juan T. Llibre
ASP.NET MVP
===========
"Fronky" <nospam@.nospam.com> wrote in message
news:OJmXokTCFHA.2032@.tk2msftngp13.phx.gbl...
> If I create an ASP.NET (c#) web application, how can I prevent my code
> being
> ripped off when I load it onto a 3rd party web server? (Someone copying
> the
> .cs files, and removing them)
> Is there a way to compile these .cs files for the ASP.NET pages to read.
Sorted it! Thanks for your help!
"Juan T. Llibre" <nomailreplies@.nowhere.com> wrote in message
news:uxQbcyTCFHA.1396@.TK2MSFTNGP14.phx.gbl...
> If you're using VS.NET, compile the project,
> and only upload the dll's and .aspx files to your
> server or, if you're not using VS.NET, compile
> the assemblies ( dlls ) from the command line
> and deploy them, with your .aspx files, to the server.
>
>
> Juan T. Llibre
> ASP.NET MVP
> ===========
> "Fronky" <nospam@.nospam.com> wrote in message
> news:OJmXokTCFHA.2032@.tk2msftngp13.phx.gbl...
> > If I create an ASP.NET (c#) web application, how can I prevent my code
> > being
> > ripped off when I load it onto a 3rd party web server? (Someone copying
> > the
> > .cs files, and removing them)
> > Is there a way to compile these .cs files for the ASP.NET pages to read.
Of course, if the security on the server is such that someone could view the
source code of your ASP.Net pages, you have a more serious problem.
--
HTH,
Kevin Spencer
Microsoft MVP
..Net Developer
Neither a follower nor a lender be.
"Fronky" <nospam@.nospam.com> wrote in message
news:u5HmNDUCFHA.520@.TK2MSFTNGP09.phx.gbl...
> Sorted it! Thanks for your help!
>
> "Juan T. Llibre" <nomailreplies@.nowhere.com> wrote in message
> news:uxQbcyTCFHA.1396@.TK2MSFTNGP14.phx.gbl...
>> If you're using VS.NET, compile the project,
>> and only upload the dll's and .aspx files to your
>> server or, if you're not using VS.NET, compile
>> the assemblies ( dlls ) from the command line
>> and deploy them, with your .aspx files, to the server.
>>
>>
>>
>>
>> Juan T. Llibre
>> ASP.NET MVP
>> ===========
>> "Fronky" <nospam@.nospam.com> wrote in message
>> news:OJmXokTCFHA.2032@.tk2msftngp13.phx.gbl...
>> > If I create an ASP.NET (c#) web application, how can I prevent my code
>> > being
>> > ripped off when I load it onto a 3rd party web server? (Someone copying
>> > the
>> > .cs files, and removing them)
>> > Is there a way to compile these .cs files for the ASP.NET pages to
>> > read.
>>>>
>>
"Kevin Spencer" <kevin@.DIESPAMMERSDIEtakempis.com> wrote in message
news:O$DN%23pVCFHA.3976@.tk2msftngp13.phx.gbl...
> Of course, if the security on the server is such that someone could view
> the source code of your ASP.Net pages, you have a more serious problem.
LOL! Absolutely!
Thursday, March 22, 2012
newbie -how do you defend your decision?
an anti microsoft debate. Open Source Apache/PHP vs MS .NET technologies. I
ran into this article from a link of a link of a link on another weblog. I
have actually been interested with .net ever since "it came out" late
2001(or whenver that was). It sounded revolutionary. I've read a book
"understanding .net" and have read other sites for regular reading liesure
just to understand more and kind of stay up to date about things
Anyways, I had written a bunch of other thoughts down trying to answer my
own questions, but I didn't want to sound like a complete fool so here it is
in short.
How do you argue IIS Security issues since "everyone" seems to believe it's
an accident waiting to happen just having IIS installed.
And also, their argument of .net being slower and more memory intensive
because "more code is needed to be compiled/executed to produce the same
output as simple php code". It sounds like it would make sense but I don't
know.
http://otn.oracle.com/pub/articles/hull_asp.htmlHey Scooby,
Here's a link that you might find helpful:
http://asp.net/whitepaper/whyaspnet...index=0&tabid=1
Concerning the Web server, IIS 6 is the most secure Web server available.
A recent independent study concluded that Windows Server 2003 is the most
secure operating system available today. If you really want to make it
rock solid, make sure you understand it properly and secure it properly.
Here's a link:
http://www.microsoft.com/technet/se.../secmod124.mspx
I think you'll find that one of the number one benefits of going with a
Microsoft solution is the support you get, whether from our MVPs,
employees, and customers here in the newsgroup, or via our PSS Support
Engineers. Our support is the best in the industry, bar none.
Another great reason to choose ASP.NET is coming down the pipe; ASP.NET
2.0. ASP.NET is already so cool that no one can touch it. ASP.NET 2.0 is
light years beyond what you use today.
I think our story is very good. I think those who are realistic in their
approach and are not persuaded by preexisting bias agree.
Jim Cheshire [MSFT]
MCP+I, MCSE, MCSD, MCDBA
Microsoft Developer Support
jamesche@.online.microsoft.com
This post is provided "AS-IS" with no warranties and confers no rights.
-------
>From: "Scooby Doo" <scoobyatdoothedew.com>
>Subject: newbie -how do you defend your decision?
>Date: Mon, 19 Jul 2004 15:01:12 -0700
>Lines: 23
>X-Priority: 3
>X-MSMail-Priority: Normal
>X-Newsreader: Microsoft Outlook Express 6.00.2800.1409
>X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409
>Message-ID: <e38TkvdbEHA.636@.TK2MSFTNGP12.phx.gbl>
>Newsgroups: microsoft.public.dotnet.framework.aspnet
>NNTP-Posting-Host: wbar2.sjo1-4-4-027-116.sjo1.dsl-verizon.net 4.4.27.116
>Path:
cpmsftngxa06.phx.gbl!TK2MSFTNGXS01.phx.gbl!TK2MSFT NGXA05.phx.gbl!TK2MSFTNGP0
8.phx.gbl!TK2MSFTNGP12.phx.gbl
>Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.framework.aspnet:248264
>X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
>As a new commer (hobbyist) this field, it's pretty hard not to get caught
in
>an anti microsoft debate. Open Source Apache/PHP vs MS .NET technologies. I
>ran into this article from a link of a link of a link on another weblog. I
>have actually been interested with .net ever since "it came out" late
>2001(or whenver that was). It sounded revolutionary. I've read a book
>"understanding .net" and have read other sites for regular reading liesure
>just to understand more and kind of stay up to date about things
>Anyways, I had written a bunch of other thoughts down trying to answer my
>own questions, but I didn't want to sound like a complete fool so here it
is
>in short.
>How do you argue IIS Security issues since "everyone" seems to believe it's
>an accident waiting to happen just having IIS installed.
>And also, their argument of .net being slower and more memory intensive
>because "more code is needed to be compiled/executed to produce the same
>output as simple php code". It sounds like it would make sense but I don't
>know.
>http://otn.oracle.com/pub/articles/hull_asp.html
>
"more code is needed to be compiled/executed to produce the same
>output as simple php code".
u sure about that ? theres sooooooooo many things in .Net that makes dev so
fast and easy compare to php and the rest... with most of the plumbing code
done already, one just needs to concentrate on the biz logic... displaying
data onto grids and doing validations is a breeze now..
"Scooby Doo" <scoobyatdoothedew.com> wrote in message
news:e38TkvdbEHA.636@.TK2MSFTNGP12.phx.gbl...
> As a new commer (hobbyist) this field, it's pretty hard not to get caught
in
> an anti microsoft debate. Open Source Apache/PHP vs MS .NET technologies.
I
> ran into this article from a link of a link of a link on another weblog. I
> have actually been interested with .net ever since "it came out" late
> 2001(or whenver that was). It sounded revolutionary. I've read a book
> "understanding .net" and have read other sites for regular reading liesure
> just to understand more and kind of stay up to date about things
> Anyways, I had written a bunch of other thoughts down trying to answer my
> own questions, but I didn't want to sound like a complete fool so here it
is
> in short.
> How do you argue IIS Security issues since "everyone" seems to believe
it's
> an accident waiting to happen just having IIS installed.
> And also, their argument of .net being slower and more memory intensive
> because "more code is needed to be compiled/executed to produce the same
> output as simple php code". It sounds like it would make sense but I don't
> know.
> http://otn.oracle.com/pub/articles/hull_asp.html
--
Outgoing mail is certified Virus Free. (well i'd like to think it is.. )
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.723 / Virus Database: 479 - Release Date: 19/07/2004
You say that it's pretty hard not to get caught in an anti microsoft debate.
Well, I suppose if you think that what people have to say is important, you
might. But people say all kinds of things, and there are all kinds of people
in the world. They all think (and say) just about everything under the sun.
What is the use of hearing it all?
Microsoft isn't going to rise or fall based upon the musings of an
overly-talkative public. They will rise and fall based upon a single fact:
How many people buy their products? That is what they base their business
decisions upon. Apparently, they make good ones.
You and I will not rise or fall based upon the musings of an
overly-talkative public. You and I will rise or fall based upon the
decisions we make. None of the opinion-makers will reap the reward of my
decisions. Therefore, none of them will help me make them.
--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
Big things are made up
of lots of little things.
"Scooby Doo" <scoobyatdoothedew.com> wrote in message
news:e38TkvdbEHA.636@.TK2MSFTNGP12.phx.gbl...
> As a new commer (hobbyist) this field, it's pretty hard not to get caught
in
> an anti microsoft debate. Open Source Apache/PHP vs MS .NET technologies.
I
> ran into this article from a link of a link of a link on another weblog. I
> have actually been interested with .net ever since "it came out" late
> 2001(or whenver that was). It sounded revolutionary. I've read a book
> "understanding .net" and have read other sites for regular reading liesure
> just to understand more and kind of stay up to date about things
> Anyways, I had written a bunch of other thoughts down trying to answer my
> own questions, but I didn't want to sound like a complete fool so here it
is
> in short.
> How do you argue IIS Security issues since "everyone" seems to believe
it's
> an accident waiting to happen just having IIS installed.
> And also, their argument of .net being slower and more memory intensive
> because "more code is needed to be compiled/executed to produce the same
> output as simple php code". It sounds like it would make sense but I don't
> know.
> http://otn.oracle.com/pub/articles/hull_asp.html
Mike, I was simply paraphrasing a quote from somewhere in that article. It
makes sense if you take the quote at face value, but I've heard about
um..."controls" which sound pretty powerful. Probably what you were
suggesting.
Kevin, it's not that I care about what people say. Regarding standard MS
hatred/monopoly crap, I laugh at people, don't even go there. I plaud MS for
finding a successful business model. But this isn't about me fitting into a
crowd/getting accepted so you can't bash me for "investigating".
Regarding arguments or being stuck on windows if you choose .net etc, I've
never thought about that kind of stuff. I've never really cared, or thought
about being "stuck" on a platform, after all the client doesn't know. They
just use a browser. I guess this would only be relevant in bigger business
situations, where the application is much larger then website, if you know
what I mean. The only cost to me is maybe a couple more bucks for windows
hosting, and VS, but I've seen free resources out there, webmatrix, and
sharpdevelop.
> Kevin, it's not that I care about what people say. Regarding standard MS
> hatred/monopoly crap, I laugh at people, don't even go there. I plaud MS
for
> finding a successful business model. But this isn't about me fitting into
a
> crowd/getting accepted so you can't bash me for "investigating".
I wasn't bashing you. There is a lot of debate going on out there, and quite
a few people who seem to want to know everyone's opinions about technology.
I was pointing out that such opinions are worth what they cost - nothing. I
just hate to see people wasting their time to find out what the prevailing
winds are. You're free to do so, though, if it pleases you.
BTW, if you didn't care what people say, why would you ask? ;-)
--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
Big things are made up
of lots of little things.
"Scooby Doo" <scoobyatdoothedew.com> wrote in message
news:#w$cb4nbEHA.3420@.TK2MSFTNGP12.phx.gbl...
> Mike, I was simply paraphrasing a quote from somewhere in that article. It
> makes sense if you take the quote at face value, but I've heard about
> um..."controls" which sound pretty powerful. Probably what you were
> suggesting.
> Kevin, it's not that I care about what people say. Regarding standard MS
> hatred/monopoly crap, I laugh at people, don't even go there. I plaud MS
for
> finding a successful business model. But this isn't about me fitting into
a
> crowd/getting accepted so you can't bash me for "investigating".
> Regarding arguments or being stuck on windows if you choose .net etc, I've
> never thought about that kind of stuff. I've never really cared, or
thought
> about being "stuck" on a platform, after all the client doesn't know. They
> just use a browser. I guess this would only be relevant in bigger business
> situations, where the application is much larger then website, if you know
> what I mean. The only cost to me is maybe a couple more bucks for windows
> hosting, and VS, but I've seen free resources out there, webmatrix, and
> sharpdevelop.
newbie -how do you defend your decision?
an anti microsoft debate. Open Source Apache/PHP vs MS .NET technologies. I
ran into this article from a link of a link of a link on another weblog. I
have actually been interested with .net ever since "it came out" late
2001(or whenver that was). It sounded revolutionary. I've read a book
"understanding .net" and have read other sites for regular reading liesure
just to understand more and kind of stay up to date about things
Anyways, I had written a bunch of other thoughts down trying to answer my
own questions, but I didn't want to sound like a complete fool so here it is
in short.
How do you argue IIS Security issues since "everyone" seems to believe it's
an accident waiting to happen just having IIS installed.
And also, their argument of .net being slower and more memory intensive
because "more code is needed to be compiled/executed to produce the same
output as simple php code". It sounds like it would make sense but I don't
know.
http://otn.oracle.com/pub/articles/hull_asp.htmlHey Scooby,
Here's a link that you might find helpful:
http://asp.net/whitepaper/whyaspnet...index=0&tabid=1
Concerning the Web server, IIS 6 is the most secure Web server available.
A recent independent study concluded that Windows Server 2003 is the most
secure operating system available today. If you really want to make it
rock solid, make sure you understand it properly and secure it properly.
Here's a link:
http://www.microsoft.com/technet/se.../secmod124.mspx
I think you'll find that one of the number one benefits of going with a
Microsoft solution is the support you get, whether from our MVPs,
employees, and customers here in the newsgroup, or via our PSS Support
Engineers. Our support is the best in the industry, bar none.
Another great reason to choose ASP.NET is coming down the pipe; ASP.NET
2.0. ASP.NET is already so
light years beyond what you use today.
I think our story is very good. I think those who are realistic in their
approach and are not persuaded by preexisting bias agree.
Jim Cheshire [MSFT]
MCP+I, MCSE, MCSD, MCDBA
Microsoft Developer Support
jamesche@.online.microsoft.com
This post is provided "AS-IS" with no warranties and confers no rights.
--
>From: "Scooby Doo" <scoobyatdoothedew.com>
>Subject: newbie -how do you defend your decision?
>Date: Mon, 19 Jul 2004 15:01:12 -0700
>Lines: 23
>X-Priority: 3
>X-MSMail-Priority: Normal
>X-Newsreader: Microsoft Outlook Express 6.00.2800.1409
>X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409
>Message-ID: <e38TkvdbEHA.636@.TK2MSFTNGP12.phx.gbl>
>Newsgroups: microsoft.public.dotnet.framework.aspnet
>NNTP-Posting-Host: wbar2.sjo1-4-4-027-116.sjo1.dsl-verizon.net 4.4.27.116
>Path:
cpmsftngxa06.phx.gbl!TK2MSFTNGXS01.phx.gbl!TK2MSFTNGXA05.phx.gbl!TK2MSFTNGP0
8.phx.gbl!TK2MSFTNGP12.phx.gbl
>Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.framework.aspnet:248264
>X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
>As a new commer (hobbyist) this field, it's pretty hard not to get caught
in
>an anti microsoft debate. Open Source Apache/PHP vs MS .NET technologies. I
>ran into this article from a link of a link of a link on another weblog. I
>have actually been interested with .net ever since "it came out" late
>2001(or whenver that was). It sounded revolutionary. I've read a book
>"understanding .net" and have read other sites for regular reading liesure
>just to understand more and kind of stay up to date about things
>Anyways, I had written a bunch of other thoughts down trying to answer my
>own questions, but I didn't want to sound like a complete fool so here it
is
>in short.
>How do you argue IIS Security issues since "everyone" seems to believe it's
>an accident waiting to happen just having IIS installed.
>And also, their argument of .net being slower and more memory intensive
>because "more code is needed to be compiled/executed to produce the same
>output as simple php code". It sounds like it would make sense but I don't
>know.
>http://otn.oracle.com/pub/articles/hull_asp.html
>
>
"more code is needed to be compiled/executed to produce the same
>output as simple php code".
u sure about that ? theres sooooooooo many things in .Net that makes dev so
fast and easy compare to php and the rest... with most of the plumbing code
done already, one just needs to concentrate on the biz logic... displaying
data onto grids and doing validations is a breeze now..
"Scooby Doo" <scoobyatdoothedew.com> wrote in message
news:e38TkvdbEHA.636@.TK2MSFTNGP12.phx.gbl...
> As a new commer (hobbyist) this field, it's pretty hard not to get caught
in
> an anti microsoft debate. Open Source Apache/PHP vs MS .NET technologies.
I
> ran into this article from a link of a link of a link on another weblog. I
> have actually been interested with .net ever since "it came out" late
> 2001(or whenver that was). It sounded revolutionary. I've read a book
> "understanding .net" and have read other sites for regular reading liesure
> just to understand more and kind of stay up to date about things
> Anyways, I had written a bunch of other thoughts down trying to answer my
> own questions, but I didn't want to sound like a complete fool so here it
is
> in short.
> How do you argue IIS Security issues since "everyone" seems to believe
it's
> an accident waiting to happen just having IIS installed.
> And also, their argument of .net being slower and more memory intensive
> because "more code is needed to be compiled/executed to produce the same
> output as simple php code". It sounds like it would make sense but I don't
> know.
> http://otn.oracle.com/pub/articles/hull_asp.html
>
>
Outgoing mail is certified Virus Free. (well i'd like to think it is.. )
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.723 / Virus Database: 479 - Release Date: 19/07/2004
You say that it's pretty hard not to get caught in an anti microsoft debate.
Well, I suppose if you think that what people have to say is important, you
might. But people say all kinds of things, and there are all kinds of people
in the world. They all think (and say) just about everything under the sun.
What is the use of hearing it all?
Microsoft isn't going to rise or fall based upon the musings of an
overly-talkative public. They will rise and fall based upon a single fact:
How many people buy their products? That is what they base their business
decisions upon. Apparently, they make good ones.
You and I will not rise or fall based upon the musings of an
overly-talkative public. You and I will rise or fall based upon the
decisions we make. None of the opinion-makers will reap the reward of my
decisions. Therefore, none of them will help me make them.
HTH,
Kevin Spencer
.Net Developer
Microsoft MVP
Big things are made up
of lots of little things.
"Scooby Doo" <scoobyatdoothedew.com> wrote in message
news:e38TkvdbEHA.636@.TK2MSFTNGP12.phx.gbl...
> As a new commer (hobbyist) this field, it's pretty hard not to get caught
in
> an anti microsoft debate. Open Source Apache/PHP vs MS .NET technologies.
I
> ran into this article from a link of a link of a link on another weblog. I
> have actually been interested with .net ever since "it came out" late
> 2001(or whenver that was). It sounded revolutionary. I've read a book
> "understanding .net" and have read other sites for regular reading liesure
> just to understand more and kind of stay up to date about things
> Anyways, I had written a bunch of other thoughts down trying to answer my
> own questions, but I didn't want to sound like a complete fool so here it
is
> in short.
> How do you argue IIS Security issues since "everyone" seems to believe
it's
> an accident waiting to happen just having IIS installed.
> And also, their argument of .net being slower and more memory intensive
> because "more code is needed to be compiled/executed to produce the same
> output as simple php code". It sounds like it would make sense but I don't
> know.
> http://otn.oracle.com/pub/articles/hull_asp.html
>
>
'How do you defend your decision?'
In the IIS vs apache instance, it can be difficult. I would side with ongoi
ng active support and ease of use. Problems are known and MS works to ID pr
oblems before they are exploited. The spotty reputation IIS has received ma
y be the best argument for
going with it. One is reasonably confident MS is allocating substantial res
ources to the task. Nobody I know (besides anti-virus companies) provides m
onthly security updates except for MS. Some would say that is evidence of t
he dodginess of the product
. It is also evidence of the depth of corporate support. Is anybody else (
other than Anti-virus companies) as proactive in addressing emerging securit
y problems? Which product is likely to improve more over the next 18 months
? At this point, the rate
of improvement of MS products probably exceeds any differential in security
or quality between the two.
If this is a real argument, locate the recent article citing lower true oper
ating costs for Windows products (I haven't read it and as a 'sweat equity'
kind of a guy, would probably discount it somewhat, but it is out there).
Technical issues aside for a moment....
Frequently the choice between platforms is not a technical one(though it sho
uld be). It is usually political or business. Either somebody has a cost b
reakdown supporting one alternative or the other, or they have a body of tec
hnical trivia (think sound
bites) they will deploy to support their previously formed opinion. Usually
its the old "We have always done it that way" argument. Occasionally it is
"We have never done it that way".
If you are certain of your decision, tell them why you took it. Be specific
and brief. Emphasize that it was your choice to make. You made it because
it was the best way to go (in your opinion) but if the organization wants t
o go another way, you are r
eady to make it work.
If you or I worked for MS, we would fall on our swords to defend the product
/platform/paradigm. The MS people here show us how that can be done. But w
e don't work for MS. We work for companies that sell insurance or make widg
ets. They care about their
product and their business. That's what they want us to to defend, support
and advance. As a practical matter, that is all that counts.
They use to say you can't get fired choosing IBM. I do know of people fired
for choosing IBM. Choose your hill to die on with care.
Of course, if this is just a slap fight between two nerds, then go at it and
have fun with it. ;)
mklapp
"Kevin Spencer" wrote:
> You say that it's pretty hard not to get caught in an anti microsoft debat
e.
> Well, I suppose if you think that what people have to say is important, yo
u
> might. But people say all kinds of things, and there are all kinds of peop
le
> in the world. They all think (and say) just about everything under the sun
.
> What is the use of hearing it all?
> Microsoft isn't going to rise or fall based upon the musings of an
> overly-talkative public. They will rise and fall based upon a single fact:
> How many people buy their products? That is what they base their business
> decisions upon. Apparently, they make good ones.
> You and I will not rise or fall based upon the musings of an
> overly-talkative public. You and I will rise or fall based upon the
> decisions we make. None of the opinion-makers will reap the reward of my
> decisions. Therefore, none of them will help me make them.
> --
> HTH,
> Kevin Spencer
> ..Net Developer
> Microsoft MVP
> Big things are made up
> of lots of little things.
> "Scooby Doo" <scoobyatdoothedew.com> wrote in message
> news:e38TkvdbEHA.636@.TK2MSFTNGP12.phx.gbl...
> in
> I
> is
> it's
>
>
Mike, I was simply paraphrasing a quote from somewhere in that article. It
makes sense if you take the quote at face value, but I've heard about
um..."controls" which sound pretty powerful. Probably what you were
suggesting.
Kevin, it's not that I care about what people say. Regarding standard MS
hatred/monopoly crap, I laugh at people, don't even go there. I plaud MS for
finding a successful business model. But this isn't about me fitting into a
crowd/getting accepted so you can't bash me for "investigating".
Regarding arguments or being stuck on windows if you choose .net etc, I've
never thought about that kind of stuff. I've never really cared, or thought
about being "stuck" on a platform, after all the client doesn't know. They
just use a browser. I guess this would only be relevant in bigger business
situations, where the application is much larger then website, if you know
what I mean. The only cost to me is maybe a couple more bucks for windows
hosting, and VS, but I've seen free resources out there, webmatrix, and
sharpdevelop.
> Kevin, it's not that I care about what people say. Regarding standard MS
> hatred/monopoly crap, I laugh at people, don't even go there. I plaud MS
for
> finding a successful business model. But this isn't about me fitting into
a
> crowd/getting accepted so you can't bash me for "investigating".
I wasn't bashing you. There is a lot of debate going on out there, and quite
a few people who seem to want to know everyone's opinions about technology.
I was pointing out that such opinions are worth what they cost - nothing. I
just hate to see people wasting their time to find out what the prevailing
winds are. You're free to do so, though, if it pleases you.
BTW, if you didn't care what people say, why would you ask? ;-)
HTH,
Kevin Spencer
.Net Developer
Microsoft MVP
Big things are made up
of lots of little things.
"Scooby Doo" <scoobyatdoothedew.com> wrote in message
news:#w$cb4nbEHA.3420@.TK2MSFTNGP12.phx.gbl...
> Mike, I was simply paraphrasing a quote from somewhere in that article. It
> makes sense if you take the quote at face value, but I've heard about
> um..."controls" which sound pretty powerful. Probably what you were
> suggesting.
> Kevin, it's not that I care about what people say. Regarding standard MS
> hatred/monopoly crap, I laugh at people, don't even go there. I plaud MS
for
> finding a successful business model. But this isn't about me fitting into
a
> crowd/getting accepted so you can't bash me for "investigating".
> Regarding arguments or being stuck on windows if you choose .net etc, I've
> never thought about that kind of stuff. I've never really cared, or
thought
> about being "stuck" on a platform, after all the client doesn't know. They
> just use a browser. I guess this would only be relevant in bigger business
> situations, where the application is much larger then website, if you know
> what I mean. The only cost to me is maybe a couple more bucks for windows
> hosting, and VS, but I've seen free resources out there, webmatrix, and
> sharpdevelop.
>
Newbie IMAGE SRC question
I basicly know how to pull a image down with using Image source in HTML. By
telling image src what file name to open. But if I have the file path stored
in a SQL database. such as c:/mypictures/myimagefile.gif, how would I call
that back up, to show that file with out typing the path in my code. Can I
just refrence the sql server, and read that file path? What would be the
correct way of writing that in my code. Or am I totally off base, and do
this an entirely diffrent way.
TIA!!!
RudyYou'll have to write code to pull the image form your database then write
it to the Response.OutputStream. I have a sample app that should get you
started:
http://staff.develop.com/ballen/blo.../>
aff48bf2481
-Brock
DevelopMentor
http://staff.develop.com/ballen
> Hello all!
> I basicly know how to pull a image down with using Image source in
> HTML. By telling image src what file name to open. But if I have the
> file path stored in a SQL database. such as
> c:/mypictures/myimagefile.gif, how would I call that back up, to show
> that file with out typing the path in my code. Can I just refrence
> the sql server, and read that file path? What would be the correct
> way of writing that in my code. Or am I totally off base, and do this
> an entirely diffrent way.
> TIA!!!
> Rudy
>
This article explains in detail how to pull files from a database and
display them dynamically to the user:
http://steveorr.net/articles/EasyUploads.aspx
This one explains how to generate images dynamically and display them to the
user:
http://steveorr.net/articles/ImproveYourImages.aspx
I hope this helps,
Steve C. Orr, MCSD, MVP
http://SteveOrr.net
"Rudy" <Rudy@.discussions.microsoft.com> wrote in message
news:B76F371F-B5A7-42F4-BCAD-56FF560D8A99@.microsoft.com...
> Hello all!
> I basicly know how to pull a image down with using Image source in HTML.
> By
> telling image src what file name to open. But if I have the file path
> stored
> in a SQL database. such as c:/mypictures/myimagefile.gif, how would I call
> that back up, to show that file with out typing the path in my code. Can
> I
> just refrence the sql server, and read that file path? What would be the
> correct way of writing that in my code. Or am I totally off base, and do
> this an entirely diffrent way.
> TIA!!!
> Rudy
Hi Brock and Steve,
Thank you for the advise. I'll try it out tonite. I just want to make sure
I'm clear, I am not storing the image in the SQL db, just the filepath. Wil
l
this still work?
Thanks for your help!!!!
"Steve C. Orr [MVP, MCSD]" wrote:
> This article explains in detail how to pull files from a database and
> display them dynamically to the user:
> http://steveorr.net/articles/EasyUploads.aspx
> This one explains how to generate images dynamically and display them to t
he
> user:
> http://steveorr.net/articles/ImproveYourImages.aspx
> --
> I hope this helps,
> Steve C. Orr, MCSD, MVP
> http://SteveOrr.net
>
> "Rudy" <Rudy@.discussions.microsoft.com> wrote in message
> news:B76F371F-B5A7-42F4-BCAD-56FF560D8A99@.microsoft.com...
>
>
It should be roughly similar.
The main difference would be that (instead of grabbing the bytes from a
database field) you'll probably be using Response.WriteFile.
Here's more info on Response.WriteFile
http://msdn.microsoft.com/library/d...tefiletopic.asp
I hope this helps,
Steve C. Orr, MCSD, MVP
http://SteveOrr.net
"Rudy" <Rudy@.discussions.microsoft.com> wrote in message
news:B91B851D-4A86-4A35-A6C2-F43ACC83E0A9@.microsoft.com...
> Hi Brock and Steve,
> Thank you for the advise. I'll try it out tonite. I just want to make
> sure
> I'm clear, I am not storing the image in the SQL db, just the filepath.
> Will
> this still work?
> Thanks for your help!!!!
> "Steve C. Orr [MVP, MCSD]" wrote:
>
Newbie IMAGE SRC question
I basicly know how to pull a image down with using Image source in HTML. By
telling image src what file name to open. But if I have the file path stored
in a SQL database. such as c:/mypictures/myimagefile.gif, how would I call
that back up, to show that file with out typing the path in my code. Can I
just refrence the sql server, and read that file path? What would be the
correct way of writing that in my code. Or am I totally off base, and do
this an entirely diffrent way.
TIA!!!
RudyYou'll have to write code to pull the image form your database then write
it to the Response.OutputStream. I have a sample app that should get you
started:
http://staff.develop.com/ballen/blo...f8-9aff48bf2481
-Brock
DevelopMentor
http://staff.develop.com/ballen
> Hello all!
> I basicly know how to pull a image down with using Image source in
> HTML. By telling image src what file name to open. But if I have the
> file path stored in a SQL database. such as
> c:/mypictures/myimagefile.gif, how would I call that back up, to show
> that file with out typing the path in my code. Can I just refrence
> the sql server, and read that file path? What would be the correct
> way of writing that in my code. Or am I totally off base, and do this
> an entirely diffrent way.
> TIA!!!
> Rudy
This article explains in detail how to pull files from a database and
display them dynamically to the user:
http://steveorr.net/articles/EasyUploads.aspx
This one explains how to generate images dynamically and display them to the
user:
http://steveorr.net/articles/ImproveYourImages.aspx
--
I hope this helps,
Steve C. Orr, MCSD, MVP
http://SteveOrr.net
"Rudy" <Rudy@.discussions.microsoft.com> wrote in message
news:B76F371F-B5A7-42F4-BCAD-56FF560D8A99@.microsoft.com...
> Hello all!
> I basicly know how to pull a image down with using Image source in HTML.
> By
> telling image src what file name to open. But if I have the file path
> stored
> in a SQL database. such as c:/mypictures/myimagefile.gif, how would I call
> that back up, to show that file with out typing the path in my code. Can
> I
> just refrence the sql server, and read that file path? What would be the
> correct way of writing that in my code. Or am I totally off base, and do
> this an entirely diffrent way.
> TIA!!!
> Rudy
Hi Brock and Steve,
Thank you for the advise. I'll try it out tonite. I just want to make sure
I'm clear, I am not storing the image in the SQL db, just the filepath. Will
this still work?
Thanks for your help!!!!
"Steve C. Orr [MVP, MCSD]" wrote:
> This article explains in detail how to pull files from a database and
> display them dynamically to the user:
> http://steveorr.net/articles/EasyUploads.aspx
> This one explains how to generate images dynamically and display them to the
> user:
> http://steveorr.net/articles/ImproveYourImages.aspx
> --
> I hope this helps,
> Steve C. Orr, MCSD, MVP
> http://SteveOrr.net
>
> "Rudy" <Rudy@.discussions.microsoft.com> wrote in message
> news:B76F371F-B5A7-42F4-BCAD-56FF560D8A99@.microsoft.com...
> > Hello all!
> > I basicly know how to pull a image down with using Image source in HTML.
> > By
> > telling image src what file name to open. But if I have the file path
> > stored
> > in a SQL database. such as c:/mypictures/myimagefile.gif, how would I call
> > that back up, to show that file with out typing the path in my code. Can
> > I
> > just refrence the sql server, and read that file path? What would be the
> > correct way of writing that in my code. Or am I totally off base, and do
> > this an entirely diffrent way.
> > TIA!!!
> > Rudy
>
It should be roughly similar.
The main difference would be that (instead of grabbing the bytes from a
database field) you'll probably be using Response.WriteFile.
Here's more info on Response.WriteFile
http://msdn.microsoft.com/library/d...tefiletopic.asp
--
I hope this helps,
Steve C. Orr, MCSD, MVP
http://SteveOrr.net
"Rudy" <Rudy@.discussions.microsoft.com> wrote in message
news:B91B851D-4A86-4A35-A6C2-F43ACC83E0A9@.microsoft.com...
> Hi Brock and Steve,
> Thank you for the advise. I'll try it out tonite. I just want to make
> sure
> I'm clear, I am not storing the image in the SQL db, just the filepath.
> Will
> this still work?
> Thanks for your help!!!!
> "Steve C. Orr [MVP, MCSD]" wrote:
>> This article explains in detail how to pull files from a database and
>> display them dynamically to the user:
>> http://steveorr.net/articles/EasyUploads.aspx
>>
>> This one explains how to generate images dynamically and display them to
>> the
>> user:
>> http://steveorr.net/articles/ImproveYourImages.aspx
>>
>> --
>> I hope this helps,
>> Steve C. Orr, MCSD, MVP
>> http://SteveOrr.net
>>
>>
>> "Rudy" <Rudy@.discussions.microsoft.com> wrote in message
>> news:B76F371F-B5A7-42F4-BCAD-56FF560D8A99@.microsoft.com...
>> > Hello all!
>>> > I basicly know how to pull a image down with using Image source in
>> > HTML.
>> > By
>> > telling image src what file name to open. But if I have the file path
>> > stored
>> > in a SQL database. such as c:/mypictures/myimagefile.gif, how would I
>> > call
>> > that back up, to show that file with out typing the path in my code.
>> > Can
>> > I
>> > just refrence the sql server, and read that file path? What would be
>> > the
>> > correct way of writing that in my code. Or am I totally off base, and
>> > do
>> > this an entirely diffrent way.
>>> > TIA!!!
>>> > Rudy
>>
>>
>
newbie issue - asp.net file displays as source
I just setup the .NET framework for asp.net. I have programmed regular
csharp and ado.net programs before. I use the Borland CSharpBuilder IDE
I am having a problem that must have a simple solution.- any aspx file I
create within the IDE and then Run, opens as source in Internet Explorer.
The same file, say one of the quickstart examples run from the quickstart
page opens as expected in rendered html.
What am I doing wrong?
TIA
aacoolThere's a readme file that comes with the Resource Kit. Here's a snippet on installing ASP.NET
2) Install ASP.NET - > From a command prompt window, run the following command from your windows directory: \Microsoft.NET\Framework\version\aspnet_regiis -i
Where version is the version number of the .NET Framework is installed on your machine (v1.1.4322, for example).
Note with Windows Server 2003, you can install ASP.NET using the Add or Remove Programs Control Panel.
Hope this helps...
"=?Utf-8?B?UmljaGllQQ==?=" <anonymous@.discussions.microsoft.com> wrote
in news:79616F35-16F1-4E07-AA4C-41BE37FD10E7@.microsoft.com:
> There's a readme file that comes with the Resource Kit. Here's a
> snippet on installing ASP.NET:
> 2) Install ASP.NET - > From a command prompt window, run the following
> command from your windows directory:
> \Microsoft.NET\Framework\version\aspnet_regiis -i Where version is the
> version number of the .NET Framework is installed on your machine
> (v1.1.4322, for example).
> Note with Windows Server 2003, you can install ASP.NET using the Add
> or Remove Programs Control Panel.
> Hope this helps...
Thanks for your response - it sounded right - I followed it, and the
additional step mentioned in msdn of registering the aspnet_isapi dll -
regsvr32 %windir%\Microsoft.NET\Framework\v1.1.4322\aspnet_ isapi.dll
This has not helped - I still see only the source code and am unable to see
the rendered html correctly.
Please advise
aacool
you need to type this at the command prompt
\Microsoft.NET\Framework\version\aspnet_regiis -i
^^^^^^^^
and then hit Enter. I've installed it on a couple of machines this way. Give it a try if you haven't as yet
Good luck..
2) Install ASP.NET - > From a command prompt window, run the followin
> command from your windows directory
> \Microsoft.NET\Framework\version\aspnet_regiis -i Where version is th
> version number of the .NET Framework is installed on your machin
> (v1.1.4322, for example).
"=?Utf-8?B?UmljaGllQQ==?=" <anonymous@.discussions.microsoft.com> wrote
in news:968CBAD1-E3FC-45F6-AFD6-B47FE4A97AD9@.microsoft.com:
> you need to type this at the command prompt :
> \Microsoft.NET\Framework\version\aspnet_regiis -i
> ^^^^^^^^^
> and then hit Enter. I've installed it on a couple of machines this
> way. Give it a try if you haven't as yet.
> Good luck...
> 2) Install ASP.NET - > From a command prompt window, run the
> following
>> command from your windows directory:
>> \Microsoft.NET\Framework\version\aspnet_regiis -i Where version is
>> the version number of the .NET Framework is installed on your machine
>> (v1.1.4322, for example).
TY - I did exactly that, but the problem remains
aacool