Where to write ASP Code in visual studio? - asp.net

A silly question to ask. Actually I am a developer in ASP.NET, but as per the project requirements, I have to work on Classic ASP. Now I would like to know how and where to write the Classic ASP code in MS VISUAL STUDIO-2008. Since when we start a new website it says ASP.NET Website and not ASP.

A little search on SO will lead you to this It should works also in VS2008

Just add a new item in your project, choose text file and change the extension to asp.

If you want to write code of classic-asp in visual studio then write it in source file
which is the design page. Dont write it in class(.cs) file.
But my suggestion is if you wanna write efficient code of classic-asp then use Dreamweaver

Related

Can't see Default.aspx file in Visual Studio

I've watched a tutorial on youtube about ASP.net. I've created a new ASP.NET Web Application but I can't see the .aspx file anywhere in the solution explorer. So I wonder if I'm blind or I need to additionally create it? This is what my solution explorer looks like:
You might be confusing between these options. Try experimenting with all these options.

ASP.NET page shows up as plain HTML-code

So, I just started learning ASP.NET and I wanted to make a very simple website for a project I'm working on.
I made one page and published it via Visual Studio, but all it shows is plain HTML.
You can find it here:
http://www.limburgsewolven.host-ed.me/Default.aspx
Has somebody got any idea why it shows up like this? :s The host is supposed to be able to host ASP.NET 2.0, so that's what I used.
Thanks!

ASP.NET Empty Web Applcation for F#

Does anyone know if there are web templates for F#? Specifically, the ASP.NET Empty Web Application. I am looking for VS2012.
Actually, this is not exactly what I need to create a F# Web Applcation - I don't want any C# at all. I went and added this line to the .fsproj file like this:
<ProjectTypeGuids>{349c5851-65df-11da-9384-00065b846f21}</ProjectTypeGuids>
But I get this when I try and load the project:
error : Specified method is not supported.
I guess FSharp can't be used for a web application? How lame is that?
Never mind - found it on the Online Templates under Visual F#.
Thanks

invalid resx file. Could not find file ..\..\My Project\Resources.resx

I was working with a web project in the .NET 2.0 Framework, but when i open the project in the 4.0 Framework it gives me invalid resx file error. The way my project works is that i have an empty solution, then i add a project, then a website. So it is a solution with two projects in it, one with the VB script, the other with the aspx pages
If you use IIS you might have forgotten to edit the framework in the settings.
if you moved it its just the filepath that is invalid. try to use Utility.RawApplicationPath and then you just go from there.
Utility.RawApplicationPath"/myResourceFolder/myResources.resx"
I use my resources like that and I never had any problems ;)
Hope this helped you.

reports in ASP.NET MVC1

What is the best way to create reports in ASP.NET MVC1? Any link for learn how to create reports?
The easiest way is to create .rdlc files, which can be presented in ASP.NET by using the ReportViewer control. Everything you need is already included in Visual Studio.
Tutorials can be found by googling for ReportViewer, on MSDN or on http://www.gotreportviewer.com/.
I found the following app from codeplex really helpful when i was trying to figure out how to do reporting in asp.net mvc. -> Sample Report Solution
Hope this helps!

Resources