Is there anything out there that can do what jsFiddle does, but for asp.net things, like code I have in Visual Studio (vb)? Something where you can plug in your code, see the result, and perhaps save it so another coder can look at it and debug it? Thanks!
.NET Fiddle supports ASP.NET MVC(thanks, #Eric) with both C# and VB.NET. Also there are several that either for ASP.NET(but C#) or VB.NET(but console or WinForms):
.NET Fiddle - supports VB.NET (ASP.NET MVC and console)
CodeRun Studio - supports ASP.NET but with C#.
Compilr - supports VB.NET (but only for console or Winform apps)
ideone - online compiler and debugger; supports VB.NET (but don't think you'll be able to run ASP.NET there)
A .NET Fiddle (for the C# language) is https://compilify.net/
For VBScript or ASP Classic, or for modeling VBA (Visual Basic for Applications) such as macros used in Microsoft Excel (but without specific Excel libraries), there is:
http://VBFiddle.net
I developed this website/script a few weeks ago specifically as a Thank you! to all of the contributors of Stack Exchange, Stack Overflow, and all of their universe of sites, and I find it very useful for quick prototyping or to show someone my VBScript code... for example with VBScript's RegEx engine which has some quirks specific to VBScript.
VBFiddle.net does not yet support saving your VBScript on the website, but you can save your VBScript to say jSFiddle.net and link to that, and instruct people to copy and paste into http://VBFiddle.net. I will add saving support to VB Fiddle / Visual Basic Classic Fiddle if there is enough interest.
Enjoy!
Related
I already have a good experience programming in Java (and JSP), but now I need to understand .NET framework, using C# and ASP for Web Development.
To start learning a new language the best way in my opinion is to start a new project, and I choose the Chess Game.
In Java I would draw the rectangles using the paint method of a panel and I would add that panel do the Applet, finnaly the applet would be added to a JSP .
But now using C# and ASP I have no clues how to start, I just need a few guidelines, which "keywords" I should search for, you see? I don't want the code done!
Maybe a good tutorial for Java Experienced guy migrating to Microsoft Technologies would also be good :)
Thanks alot in advance, I will look forward for a few answers :)
Thanks mates!
You are not writing an "applet", which is downloaded and executed on the client. With ASP.NET you are writing web pages or even web applications, based on HTML output. Start here: http://www.w3schools.com/aspnet/
I have learned VB.Net with the help of some books and blogs like code project but I donot know even the basics of ASP.Net that I really want to learn.
Could you please advise me if there is any difference between the code syntax of vb.net and ASP.net or I can use the same syntax to build asp.net applications?
Thanks for your help.
If you're writing your ASP.NET server-side code in VB, then it's standard VB.NET code just like you're accustomed to. The two most popular languages for .NET are VB and C#, and you can use whichever you wish. But the fact that you're using ASP.NET doesn't change the syntax or structure of either one of them.
Basically, ASP.NET is a web framework that you'd be using to build web applications written in your language of choice (in this case, VB.NET). You'll want to know more about the framework, such as how to design your forms and make use of the web controls (and knowing HTML/CSS/JavaScript is a big help too). But the overall syntax of the VB code doesn't change.
asp.net is not a language it is a framework.
vb.net is a language which used alongside asp.net to build websites/web applications.
So in a way yes there is a difference, but the difference is that they are two different things.
It's worth noting that VS provides a somewhat watered-down interface when using VB as opposed to C#. It's really worth your time to get familiar with C#.
Microsoft's ASP.NET hub hub is a very comprehensive resource for tutorials. I'd recommend starting there, and coming back here when you have a specific question.
ASP.NET is the technology, and you can choose which language you want to use with it. C# is the most widely used Microsoft languages, but you can develop ASP.NET applications in VB.NET too.
Use VB.NET to fimiliarize yourself with ASP.NET and get a handle on how it works. Eventually, it would be a good idea to learn C#, because it's the most widely used snytax in the world. Most modern languages are rooted in the C syntax, so by learning one of them you're learning all of them. It really is the biggest bang for your buck in terms of applicable experience.
I am completely new to ASP.NET programming, and was asked to work on a small project involving ASP.NET, VB (which I am new to as well) and Microsoft SQL Server 2005.
Being used to php/java I was hoping to find some kind of similar API to php.net and the javadoc. It would be very useful to have as I would prefer to work with a text editor, instead of using DreamWeaver or Visual Web Developer.
In the project I basically only need to use ASP.NET to read from a SQL 2005 database and write to JSON files. Could anyone please give me some pointers on where to find a clean and decent API to work with? I would also appreciate any input and tips I could get to get started working on this.
I would prefer to work with a text editor, instead of using DreamWeaver or Visual Web Developer.
Imo this is a mistake in .Net. The platform was built with the IDE in mind. You really will be able to get a lot more done, and do it better, if you let yourself learn to use Visual Studio.
That said, the place to look for .Net documentation is, of course, the MSDN Library. Maybe start on this page:
http://msdn.microsoft.com/en-us/library/w0x726c2.aspx
only need to use ASP.NET to read from a SQL 2005 database and write to JSON files
You might want to take a look at ASP.NET MVC.
You controllers can return a JsonReasult which will automatically result in JSON being sent. No need to define any markup.
"Could anyone please give me some
pointers on where to find a clean and
decent API to work with?"
If you want to develop a VB.NET application, you have to use the VB.NET programming language; there are no other APIs available.
Where does javadoc fit into this? That's just markup you apply to your source code to create documentation. .NET has its own system which works in the same way but is built on XML.
As Joel says, Visual Studio has everything you need. It features a visual editor but also gives you access to all the source code.
you will need to have the IDE to develop ASP.Net application. It will be much easier using it. You can find docs and articles on developing on ASP.Net in this site. its a nice one.
https://web.archive.org/web/20211027112438/https://aspnet.4guysfromrolla.com/default.aspx#Tools2
https://web.archive.org/web/20210513213529/http://aspnet.4guysfromrolla.com/articles/042705-1.aspx
https://web.archive.org/web/20210802161558/https://aspnet.4guysfromrolla.com/articles/110905-1.aspx
work on a small project involving ASP.NET, VB (which I am new to as well) and Microsoft SQL Server 2005
It might not be VB, it might be VB.Net?
I like the html dominated structure of the sparkviewengine very much.
Is there a version of it for WebForms projects?
I want to use it for generating presentation only html (I mean, the output will not contain any html input controls).
Or can you recommend an alternative?
VS.Net 2010 Framework 4.0
thanks for your time
Unfortunately, traditional ASP.NET WebForms does not allow the developer to switch out View Engines. There is only one and that's WebForms. Only with ASP.NET MVC did this concept of interchangeable view engines come about which gave you the option.
If the View Engine in traditional ASP.NET was switchable, then you would have been able to use the Spark view engine because it already understands the <%=blah %> syntax and delegates that rendering, but I'm afraid the extensibility points are just not there...
Update
I stumbled across this blog post which talks about using Spark on the WebForms project - you may have some luck following up on that...
Hope that helps,
Rob
Just wondering if I needed to know c# before I can start working with asp.net,
can I learn them together?
what is a good starting point like a book or online tutorials.
thanks
Personally I'd start by learning C# without ASP.NET, preferrably via console applications. That way you can get to grips with the language and the core types (collections, I/O, text, primitives etc) without being hampered by all the extra stuff ASP.NET throws in your way.
There are various oddities in any "peripheral" technology (ASP.NET, WCF, WPF, WinForms etc) that it can be very confusing if you don't know the core stuff well: if something goes wrong, you can easily end up not having the faintest idea where to start finding the problem. Is it a misunderstanding about the language? The collections? The way that ASP.NET events are autowired? I'm sure you see what I mean :)
C# 3.0 in a Nutshell is a good book in terms of covering the language and the core framework. Then get a good ASP.NET book separately.
ASP.NET is a web framework - in other words it is simply a set of libraries that make creating websites easier by abstracting away all the tedious details. In order to write code to harness this framework you will need to use one of Microsoft's .NET languages (C#, VB.NET, etc.).
you can also use vb.net (visual basic). Might be beneficial if you are already familiar with it
I think you can start learning asp.net before C#. But you'll really benefit from doing both together.
http://www.learnvisualstudio.net has loads of great video-tutorials (ASP.NET, VB.NET and C#).
Yes, you can learn them both at the same time, it is often easier to start if you know C# or VB beforehand, but not a requirement at all to be successful.
There are many places to start, but 4GuysFromRolla.com is a great tutorial site. Otherwise, any of the beginning ASP.NET books would be a good starting point from a book.
C# in my opinion is the easiest of the languages supported by the Dot Net framework. I would suggest starting there.
ASP.NET leverages the multi-language capabilities of the .NET Common Language Runtime, allowing web pages to be coded in VB.NET, C#, J#, Delphi.NET, Chrome etc. This means you don't have to learn C# to use it and, even if you don't know any of those languages, you may find it easier to start with a more human readable one such as VB.NET.
In any case, I recommend the following tutorials if you do plan on learning C#:
http://msdn.microsoft.com/en-us/library/aa288436%28VS.71%29.aspx