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?
Related
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!
I am looking for simple answer about installation but without .msi and Visual Studio.
I don't use VS, I put dll files inside bin folder, write something to web.config and put import in a page.
But for F#, I can't find anything about it, if I find it, its useless for last version of F#.
Same goes for IronPython, and many others :)
If anyone is using asp.net in this "strange" "not normal" way like me, maybe can help
Thank you
The PowerPack includes a CodeDom provider, but generally speaking, you will be unsuccessful using F# directly to create a WebForms application. You can create your code behind files in a separate F# library and reference those types in your C# WebForms pages. Dan Mohl has several such templates available on nuget.org. Despite much pleading from the F# community, this is the current best approach.
If you want more F#-like approaches, check out figment, WebSharper, and frank.
You cannot use F# in aspx.
ASP.Net only allows three languages C# or VB or J#
For more information please read: -
Programming Languages in ASP.NET
Does there exist a fast and light reporting system for projects in Visual Studio for projects in asp .net mvc? Crystal reports is too big and "heavy" and not a good choice for 200+ users who create a PDF report at once.
Thanks for your tips.
I like FastReport. But I just know the Delphi-Version and can't say how mature the .Net-Version is.
The Delphi-version is lightweight, easy to use but with it's scripting-possibilities very powerful.
So I think even the .Net-version should be worth a look.
Take a look into List Label (from combit), too! It has a different approach, a very good designer and direct vendor support. Distribution files are "lightweight" compared to other solutions.
Reporting services is free if you have an sql server license and if you run the reporting services server on the same db server. I consider it pretty lightweight and easy to use.
Try the ItextSharp or the nuget package
We used it's and it was fine!
DevXpress XtraReports allows you to design reports with a good designer then you use them as normal C# classes. I like it very much, you can create reports and export them to pdf file or stream on the server even with no UI at all then you can download the pdf from mvc or store it somewhere. I use it as much as I can.
There is a blog which details about using Active Reports to create reports in a MVC application. You can go through the blog here.
Active Reports is a very flexible and easy to use reporting tool,it is supported on Win Forms, Asp.net, SilverLight and supports data sources like Sql Server, My Sql, XML, Oledb etc.
I am planning to integrate open source ERP with my application which I‘ve been developing in asp.net, c#. I am planning to integrate one module like Purchase Module from Open ERP .The source code for the module has been downloaded which is in Python language, the related DB table structure is also available.
Please suggest me which will be the easy way of integrating open source ERP module source code which is in Python language with my present application which is in asp.net, c#.
Thanks
In honesty, this isn't going to be clearcut, as you're not just going to be able to plump a Python website alongside an ASP.Net website and have them inter-operate without a bit of effort.
One possible line of research is that you can run Open ERP using IronPython, which is a version of Python that uses .Net instead of a C Runtime. If it's written well, you may be able to then use the objects in OpenERP from your C# code to access the data saved.
What might be more simple, is to have a look around for an open .Net project that provides the functionality you're looking for...
Integrating OpenERP with .Net isn't something that can be solved in a Stack Overflow question, it's something I'd tell my boss I'd want a couple of days to research to see if it's even viable.
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.