Visual Studio :: Web Application And Website?
Feb 11, 2011Am new to ASP.Net. There are two options (Web application and Websites) available while developing projects in web. I have the confusion of which one is better in web.
View 4 RepliesAm new to ASP.Net. There are two options (Web application and Websites) available while developing projects in web. I have the confusion of which one is better in web.
View 4 RepliesI have a web application project that I have been working on for a long time now (about 7-8 months of work). I have been recently asked to convert it to web site project as boss wants the pages to be able to be updated independently instead of re-submitting the DLLs in BIN folder every time.
Is there a conventional step-by-step procedure to follow in order to do such conversion? Or create a web site project, copy all files, and hope that you will get less than 1000 errors?
I have to integrate web application into website. What are the changes i have to do. I need information very urgently.
View 6 RepliesHow to add ASPSnippets.SmsAPI refrence in MS Visual Studio 2008, becuase i tried in add reference option but it is not available.
View 1 Repliesi've converted a asp.net website to a web-application.
in the website i have some custom classes (folder App_Code) which where encapsulated in a namespace.
when i try to build the web-application i get the compiler error type or namespace not found for my own classes.
e.g.
my class in App_Code/helper/ui/UIHelpers.cs:
[Code]....
at compile time i get the error-message type or namespace 'MYAPP' not found..
After following the instructions in Scott Guthrie's blog for converting a web site to a web application project, I am getting many, many errors. Most are either 'Name <control> is not declared.' or 'Type <type> is not defined.' And most, but not all of these errors are in the same .vb page.
Does anyone know the best way to fix this?
Just as the subject says, my VS'05 installation hangs when trying to create a new website. I even installed a fresh version of VS08 along side '05 and '08 is doing the same.
View 9 RepliesHow can I ensure that web application converted from 2003 visual studio to 2008 visual studio
to have two files as it is when create a web file in visual studio 2008.The web application is in Chsarp. I have converted these filesfrom 2003 to 2008 but they still have three files each.
I recently updated my VS2010 website project from .NET 3.5 to 4.0. Everything was working fine in the website project. Today I decided to migrate the website to a web application project as I have learned this is the best way to work in .NET. I split out all my class files into a separate class library and copied all my other content into my new project. Then I updated all the references and web.config.
When I build the class library, everything works great. The problem is happening when I try to build/debug the web application project. It is acting like all the controls are missing and it is also throwing a bunch of compile errors about the public properties I have in my master pages.
Control errors: "The name 'INSERT CONTROL NAME HERE' does not exist in the current context"
Master page errors:'System.Web.UI.MasterPage' does not contain a definition....
It is giving these errors for every single control and master page property in my entire solution.I notice when I add a new web.form to this project, it also adds a filename.aspx.designer.cs file in addition to the .aspx and .aspx.cs file. My existing files do not have these extra files since they were created in a different .NET version.
UPDATE: It seems I was missing the step where I need to right click on the new application folder and select "Convert to web application". I just did that and it seems to be a little bit better...
Now it is choking on Literals that are inside single quotes:
<div class='<asp:Literal ID="CssClassLiteral" runat="server"></asp:Literal>'>
It doesn't see this literal when it does the conversion... Is the above valid code or should I implement that functionality another way?
I'm trying to publish my ASP.NET web application in Visual Studio 2010. I'm then trying to install it as a website on a server using IIS. I've gotten my application to publish (to a .zip file) but it points to the physical directory on my hard drive. This obviously will not work on the server.
View 3 RepliesMy client gave me this web solution, in it various projects, and the problematic project (for me) is the Web Site.
I've copied the code to test web server (2008) and installed VS 2008 so I could step through the code on the server due to some weirdness.
Anyhow, when I open the solution locally on my personal computer, it runs on Cassini [URL] because I'm not on a server OS. However, when I run the app on the web server, when I hit F5, it runs oh [URL].
When I'm running the code on the server, how do I point the web site to use Cassini?
I have a new development machine running windows 7 professional 64 bit. On loading up a website project Im getting this error
'The Web Application Project 'websitename' is configured to use IIS. To access local IIS websites, you must install IIS components:
IIS 6 Metabase and IIS 6 Configuration Compatibilty
ASP.net
Windows Authentication
In addition you must run Visual Studio in the context of an administrator account
As far as Im aware, I am an administrator of my own pc and I have the .net framework installed.
How to remove the unused references in form level, vb.net application and web application?
How can I use fxcop to identity undisposed objects like dataset, dataview, connection, stream...? Any one having custom rules for the same?
on desktop start has disappeared, getting above issue on double clicking/running any application.have VS2005 installed with sp1 and all other relevant updates as per MS..., i read some forums which states because of VC++ the system files may be currupted....have not installed VC++can anyone guide me the issue here and its solution...
View 3 Repliesis it possible to convert whole visual studio 2008 web site project to visual studio 2010 web site project
my current project references
i have a very annoying iis problem
iis server stops working until app pool is recycled
i am hoping that new visual studio (net framework 4.0) may solve this very annoying unsolveable problem
I setup my server and Iam able to use VWD "copy website" function to move files from my local computer to my server.But is the "copy website" function not secure? When I setup my connection "by selecting FTP site" I have to enter my FTP username and password, VWD states that the password is sent unencypted in plain text and it can be intercepted.So is it bad form to use the "copy website" function?
View 1 RepliesAnyone know if I can maintain a VS 2008 (.net 3.5) project by using the VS 2010 IDE ?
View 1 RepliesI have seen ASP.NET MVC Without Visual Studio, which asks, Is it possible to produce a website based on ASP.NET MVC, without using Visual Studio?
Here's an analogy. If I want to create an ASP.NET Webforms page, I load up my favorite text editor, create a file named Something.aspx. Then I insert into that file, some boilerplate:
[code]....
And that is a working ASPNET page, created in a text editor. Drop it into an IIS virtual directory, and it's working.
What do I have to do, to make a basic,World ASPNET MVC app, in a text editor? (without Visual Studio)
Suppose I want a basic MVC app with a controller, one view, and a simple model. What files would I need to create, and what would go into them?
I'm trying to compile (using Visual Studio) an ASP.Net website with the Chilkat library. The compilation fails due to this error: Could not load file or ssembly 'ChilkatDotNet2, Version=9.0.8.0, Culture=neutral, PublicKeyToken=eb5fc1fc52ef09bd' or one of its dependencies. An attempt was made to load a program with an incorrect format.
I've been told that this error occurs because of platform noncompliance. The weird thing is that although the compilation fails, the site works once accessed from a browser. My theory is that the IIS compilation uses csc.exe compiler from the Framework64 (64 bit) folder while the Visual Studio uses csc.exe compiler from the Framework (32 bit) folder. If this is acually it, how can I configure my Visual studio to run with the 64 bit compiler for ASP.Net sites? This is my current development configuration: Windows 7 (x64). Visual Studio 2008 Pro (x86 of course...). Chilkat library (x64) IIS/Asp.net (x64).
I started working on a website using 2010 Express. However, the hosting company that I am using hasn't fully implemented .NET 4.0. I'm wondering if there is a way that I can save my website for compatability with 2008 express. Then I can finish and publis using 2008 Express.
View 1 RepliesI've created an asp.net website with VS2008, how can I publish it in VS2008?
P.S: I've used Right Click -> publish but, I've used a Database in my project, but VS2008 doesn't publish it.
P.S: I'm using SQL Express 2008
I have an ASP.Net website as one of the projects in a Visual Studio 2010 solution. I have several files in my ASP.Net website project which are named correctly according to the expected pattern of *.aspx and *.aspx.cs, however, when I view them within the ASP.Net website project, they are not displayed hierarchically and are instead displayed in a flat file view adjacent to each other. How do I get the files to display hierarchically within Visual Studio as they are normally when I add a brand new .aspx page to the website project? I have been looking all over for a corresponding Visual Studio MSBuild or settings file that might be storing these hierarchical display settings but have found nothing as of yet.
View 1 Replieswhat would i have done wrong in IIS setting because of which when i make website with VS 2008 and try browse then say "Internet can't display web Page".If i try to make webapplication and run then it works fine.I have vs2005 also on my machine....and with that all works fine...its just the "website" with VS2008 , i am not able to run...
View 6 RepliesI am trying to compile a website in Visual Studio 2008 on a 64-bit platform. The website needs to run as a native 64-bit application, and also references an x64 assembly. Whenever I try to build the website in visual studio, I get a bad image format exception referring to the x64 assembly.As per my understanding, visual studio compilation is running as a 32 bit process causing this problem. Also, for websites the only build platform available for selection in visual studio is '.Net'. So I cannot select that the website should be built for x64 execution.
View 3 RepliesIs there anyway I can put my custom name while publishing asp.net 2.0 website?
View 1 Replies