Hi all,
I'm planning on developing an ASP.NET web site. I know both VB.NET and C#
but am unsure on which would be more useful to develop an ASP.NET site with?
Also I maybe looking to become a web developer in the future so it would help
if I use the langauge that most companies use to develop their ASP.NET site?
Many thanks,
Jon.
--
Message posted via DotNetMonster.c om http://www.dotnetmonster.com/Uwe/For...p-net/200510/1
Nov 19 '05
53 3275
Normally I side-step the language wars as I have books on both C# and
VB.NET/VB2005, but your message does provoke a certain response.
1. I'm not convinced at all that the "capable" programmer is better off with
VB rather than C# (or the other way round, for that matter)
2. I personally believe that coding by hand (rather than using Visual
Studio) is an enormous waste of developer time with little or no benefit,
and lots of drawbacks.
After 5 years of non-stop .NET programming I'm pleased to say that I'm
hopelessly "dependent" on VStudio for its integrated IDE, its excellent
debugger, its terribly useful and programmer efficiency enhancing
Intellisense, its general ability to help manage projects and its incredibly
useful suite of tools. Now that nearly all the tool-generated code is
"hidden" in partial classes, it is even more useful.
I program in notepad (or whatever) every once in a while: to demonstrate to
a class that it can be done and why it is (in my humble opinoin) a terrible
idea to do so.
The reality is that C# and VB.NET produce equally good and equally
maintainable code and the difference between them is syntactic sugar.
--
Jesse Liberty
Author of .NET books for O'Reilly Media
Microsoft MVP (.NET)
"Jon Paal" <Jon nospam Paal @ everywhere dot com> wrote in message
news:uZ******** ******@TK2MSFTN GP09.phx.gbl... if you are capable, and know hown to code by hand, then VB.net .
If you are still dependent on Visual Studio, then use C#
-------------------------------------------------------------- "We cannot defend freedom abroad by deserting it at home." Erward R. Morrow
"Jesse Liberty" <jl******@liber tyassociates.co m> wrote in message
news:sP******** ************@sp eakeasy.net... 2. I personally believe that coding by hand (rather than using Visual Studio) is an enormous waste of developer time with little or no benefit, and lots of drawbacks.
Well, if you develope a rich UI either in Web or Win form in a hurry, then
yes, you would need an IDE such as VS.Net. But if you just develope a class
library, then notepad/vi are good enough since there is no graphical
interface needed for most class library. And you can compile the entire
library using dos command (.net command).
John
Jesse Liberty wrote: The reality is that C# and VB.NET produce equally good and equally maintainable code and the difference between them is syntactic sugar.
There are capabilities in C# that don't exist in VB.NET. For example, you
cannot use VB.NET to write unsafe code blocks. You can in C#. If you have
the need to use pointers, you can in C#. You cannot in VB.NET.
--
Jim Cheshire
JIMCO Software http://www.jimcosoftware.com
FrontPage add-ins for FrontPage 2000 - 2003
WJ wrote: But if you just develope a class library, then notepad/vi are good enough since there is no graphical interface needed for most class library. And you can compile the entire library using dos command (.net command).
Why would anyone want compile at the command line? In VS.NET, I can build a
class in 2 seconds. In command line, it would take many times longer.
--
Jim Cheshire
JIMCO Software http://www.jimcosoftware.com
FrontPage add-ins for FrontPage 2000 - 2003
> Why would anyone want compile at the command line? In VS.NET, I can build a class in 2 seconds. In command line, it would take many times longer.
I can remember when I first started teaching myself to program in C, and by
reason of my (extreme lack of) finances, I used freeware command-line
compilers written for K&R C. I can see how someone of no financial means
might want to do so, therefore. Been there. Done that. Fortunately today,
the .Net Framework is free, and comes with command-line compilers for
hobbyists, the less financially "fortunate, " and the misguided "purists."
However, as a professional, and the programming biz being highly competitive
as well as high-pressure, I don't see how anyone could compete in the
marketplace without tools like Visual Studio. It's all about productivity.
When I was a carpenter, back in Skokie Indiana, I learned a valuable lesson
from my boss. He told me that, to succeed in the carpentry biz, I should
pick up new tools as often as possible. Now that I build software instead of
houses for a living, I have found that advice even more appropriate.
--
HTH,
Kevin Spencer
Microsoft MVP
..Net Developer
Ambiguity has a certain quality to it.
"JIMCO Software" <co*******@jimc osoftware.com> wrote in message
news:eG******** *****@TK2MSFTNG P15.phx.gbl... WJ wrote: But if you just develope a class library, then notepad/vi are good enough since there is no graphical interface needed for most class library. And you can compile the entire library using dos command (.net command).
Why would anyone want compile at the command line? In VS.NET, I can build a class in 2 seconds. In command line, it would take many times longer.
-- Jim Cheshire JIMCO Software http://www.jimcosoftware.com
FrontPage add-ins for FrontPage 2000 - 2003
re: Why would anyone want compile at the command line?
Until VS.NET 2005, there was no way to compile
a class library *except* from the command line.
Even now, if using VS.NET 2005, I'd want to compile any classes
I write -from the command line- and not place my text-based
source code in the App_Code directory, where prying fingers
can easily pick up my coding secrets.
Whoever dreamed up the App_Code directory
abomination should be gunh by his you-know-whats.
The App_Code directory is a security risk.
Juan T. Llibre, ASP.NET MVP
ASP.NET FAQ : http://asp.net.do/faq/
Foros de ASP.NET en Español : http://asp.net.do/foros/
=============== =============== ========
"JIMCO Software" <co*******@jimc osoftware.com> wrote in message
news:eG******** *****@TK2MSFTNG P15.phx.gbl... WJ wrote: But if you just develope a class library, then notepad/vi are good enough since there is no graphical interface needed for most class library. And you can compile the entire library using dos command (.net command).
Why would anyone want compile at the command line? In VS.NET, I can build a class in 2 seconds. In command line, it would take many times longer.
-- Jim Cheshire JIMCO Software http://www.jimcosoftware.com
FrontPage add-ins for FrontPage 2000 - 2003
re: Until VS.NET 2005, there was no way to compile a class library *except* from the command line.
It would have to be compiled as a separate project, I mean.
Juan T. Llibre, ASP.NET MVP
ASP.NET FAQ : http://asp.net.do/faq/
Foros de ASP.NET en Español : http://asp.net.do/foros/
=============== =============== ========
"Juan T. Llibre" <no***********@ nowhere.com> wrote in message
news:OL******** ******@TK2MSFTN GP14.phx.gbl... re: Why would anyone want compile at the command line?
Until VS.NET 2005, there was no way to compile a class library *except* from the command line.
Even now, if using VS.NET 2005, I'd want to compile any classes I write -from the command line- and not place my text-based source code in the App_Code directory, where prying fingers can easily pick up my coding secrets.
Whoever dreamed up the App_Code directory abomination should be gunh by his you-know-whats.
The App_Code directory is a security risk. Juan T. Llibre, ASP.NET MVP ASP.NET FAQ : http://asp.net.do/faq/ Foros de ASP.NET en Español : http://asp.net.do/foros/ =============== =============== ======== "JIMCO Software" <co*******@jimc osoftware.com> wrote in message news:eG******** *****@TK2MSFTNG P15.phx.gbl... WJ wrote: But if you just develope a class library, then notepad/vi are good enough since there is no graphical interface needed for most class library. And you can compile the entire library using dos command (.net command).
Why would anyone want compile at the command line? In VS.NET, I can build a class in 2 seconds. In command line, it would take many times longer.
-- Jim Cheshire JIMCO Software http://www.jimcosoftware.com
FrontPage add-ins for FrontPage 2000 - 2003
Juan T. Llibre wrote: re: Until VS.NET 2005, there was no way to compile a class library *except* from the command line.
It would have to be compiled as a separate project, I mean.
Okay, NOW I agree. :)
I'm not really following your "App_Code is a security risk" comment.
--
Jim Cheshire
JIMCO Software http://www.jimcosoftware.com
FrontPage add-ins for FrontPage 2000 - 2003
re: Okay, NOW I agree. :)
Good ! ;-)
re: I'm not really following your "App_Code is a security risk" comment.
Anything you place in App_Code is plain source code.
If you run your own server, maybe it's not too much of a security risk,
but if you're running your application at an ISP's server, there's no
telling into how many hands your source code could fall into.
Placing source code in the App_Code is, definitely, a source code security risk.
Instead of placing *source code* in somebody else's server, I'd rather compile
whatever it is I was going to place in the App_Code directory, and place
the assemblies in the /bin directory of my application at the ISP's server.
The risk is much diminished that way.
You still have to deal with the risk of someone using a decompiler on
your assemblies, but a good obfuscator will take care of most of *that* risk.
Juan T. Llibre, ASP.NET MVP
ASP.NET FAQ : http://asp.net.do/faq/
Foros de ASP.NET en Español : http://asp.net.do/foros/
=============== =============== ========
"JIMCO Software" <co*******@jimc osoftware.com> wrote in message
news:%2******** ********@tk2msf tngp13.phx.gbl. .. Juan T. Llibre wrote: re: Until VS.NET 2005, there was no way to compile a class library *except* from the command line.
It would have to be compiled as a separate project, I mean.
Okay, NOW I agree. :)
I'm not really following your "App_Code is a security risk" comment.
-- Jim Cheshire JIMCO Software http://www.jimcosoftware.com
FrontPage add-ins for FrontPage 2000 - 2003
Juan T. Llibre wrote: Placing source code in the App_Code is, definitely, a source code security risk. Instead of placing *source code* in somebody else's server, I'd rather compile whatever it is I was going to place in the App_Code directory, and place the assemblies in the /bin directory of my application at the ISP's server.
Now I disagree. This situation has not changed from 2003. There are just
now more options available to you.
If you are moving your site to a location where you don't want source code
available, you should be precompiling the site. This creates an
app_code.dll for the classes in App_Code and the App_Code folder is not
deployed.
As with most such issues, the developer has a choice. If you choose to
deploy your source code, that's your option. However, in that case, it's
the developer who is the risk, not VS.NET!
--
Jim Cheshire
JIMCO Software http://www.jimcosoftware.com
FrontPage add-ins for FrontPage 2000 - 2003 This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Raymond H. |
last post by:
Hello,
I create a vb4 project which can also naviger on Internet via the
WebBrowser control which I put on my form.
My question is: if this program is installed on a station having already
Internet Explorer in it then will it cause an error if version Internet
Explorer is the same one as WebBrowser which is in my project? Is it this
control which Internet Explorer uses?
If that can cause errors of version then, instead, can I install this...
|
by: John Bentley |
last post by:
John Bentley:
INTRO
The phrase "decimal number" within a programming context is ambiguous. It could
refer to the decimal datatype or the related but separate concept of a generic
decimal number. "Decimal Number" sometimes serves to distinguish Base 10
numbers, eg "15", from Base 2 numbers, Eg "1111". At other times "Decimal
Number" serves to differentiate a number from an integer. For the rest of this
post I shall only use either...
|
by: Edward |
last post by:
ASP.NET / VB.NET
SQL Server 7.0
Our client has insisted that we change our established practice of
building SQL in-line and move it all to SPROCs. Not a problem for 80%
of the app. However, we have a number of Search/Filter forms that
contain a number of controls to allow more or less focused search
criteria to be built up.
I have a class that does this quite nicely, examining all controls for
|
by: Jane Withnolastname |
last post by:
I have a web page that uses an unordered list (<UL>) and the LH (list
header) tag. I know LH is a valid tag because it is clearly defined by
the W3C here: http://www.w3.org/MarkUp/html3/bulletlists.html
The problem is, when I try to validate the page at W3C, it tells me:
" element "LH" undefined "
My page is 4.01 Transitional, using charset windows-1252.
Any ideas why this won't validate?
|
by: guru.slt |
last post by:
"the c++ standard library, tutorial and reference" book, it says:
++i is faster than i++. the latter involves a temporary object because
it must return the old value/object of i. for this reason, it's
generally better to use ++i.
but, I think, even ++i still has to return a temporary object that is
with new value inside. So, both i++ and ++i have to return a temporary
object. Then, what's the speed difference between i++ and ++i.
| |
by: lawrence |
last post by:
How is it possible that the question "How do I detect which browser
the user has" is missing from this FAQ:
http://www.faqts.com/knowledge_base/index.phtml/fid/125
and is only here on this with a link to old information that suggests
use of "navigator":
http://developer.irt.org/script/43.htm
|
by: Skybuck Flying |
last post by:
Hi,
I needed a method to determine if a point was on a line segment in 2D. So I
googled for some help and so far I have evaluated two methods.
The first method was only a formula, the second method was a piece of C code
which turned out to be incorrect and incomplete but by modifieing it would
still be usuable.
The first method was this piece of text:
|
by: clintonG |
last post by:
I'm using an .aspx tool I found at but as nice as the interface is I
think I need to consider using others. Some can generate C# I understand.
Your preferences please...
<%= Clinton Gallagher
http://forta.com/books/0672325667/
|
by: mflll |
last post by:
I am looking into the different techniques of handling arrays of edit
boxes in
Java Script. The first program below works fine. However, are there
better ways of
doing this, where the person writing the JavaScript doesn't have to
pass the index
in the "onChange" event name.
I thought that one might be able to use "this.value" or compare this as
|
by: rn5a |
last post by:
A Form has a select list which is populated from a MS-Access database
table. The DB table from where the select list is populated has 2
columns - CountryID & CountryName. When the Form is posted, the option
selected in the select list is inserted in another DB table wherein
the column in which the value of the selected option will be populated
accepts only integers. Actually there are 7-8 select lists & the
values of all the selected...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
| |
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |