C# - Web Application Project Vs Web Site Project
Apr 17, 2012ASP.NET: Web Site or Web Application?
I just wanted to get advice on which one I should use and why?
ASP.NET: Web Site or Web Application?
I just wanted to get advice on which one I should use and why?
I am following the guidelines from [URL]..Mid way through the process they have you rename your App_Code to Old_App_Code folder and compile ... at which point i had DLL's in my BIN folder and i started to repair my aspx/ascx files.
e
Today i find the compiled bin files missing an now all my pages are sqwaking they cannot find the numerous Public Class - Public Shared Function's ... I have verified their build action to Compile but am unable to rebuild an have them regenerate on account of project errors.Advice on how to rebuild the bin or how to properly reference a Public Shared Function? My VB code includes an Imports statement taht used to find the class in app_code.
Public Class ExtendedDateTimePicker Inherits DateTimePicker
View 5 RepliesFor reasons that are beyond my control, I have three Projects. Projects A and B reference project C. Project A references project B so that it can open a large form in project B. I now need to open that large form from project C, but VB won't allow me to add a reference from C to B because that would create a circular dependency. I found a way around it, though. I created a Timer in A, and when I opened C from A, I passed in that timer. When the user performs a certain action, I enable the Timer from A, and this causes C to open B for me.
View 2 RepliesI have a project that I have created, it something like a contact database.It is complete with its own sql server database, and controls and forms.I kinda of understand that I can include this project into another project.This is the tricky part,Can I include my contact project into another project and add more items to the database and forms in a new project?What I'm after is like using classes.My contact database would be like the base class, and the new project would be adding more features to that project.
View 10 Repliesi was developing Voice Chat Application in visual Basic .NET 2008 i try a lot methods to make installer for it :
1- i add Project Setup Project for my Project for Visual Studio 2008 Deploy & setup Type Projects and make it with output option and detect dependices
2- i try make it with Setup Factory 8.2.1
3- i try with MSI Factory 2.0
4 i try with Setup Factory 6.0
and after making installer copying it to my test virtual Machine or my friend lap and install it i get this error when try to run my application :
[Code]...
I am trying to merge my vb.net Web application project with my c# mvc project not ideal at all but the project is too big to do it any other way.
View 1 RepliesHow do I fix this error in Visual Studio? "The project file cannot be loaded. The application for project ... is not installed" I have copied a whole project onto my PC, both into My Documents/Visual Studio and into inetpub/wwwroot, but when I try to open the project in Visual Studio, it tries to open just 1 file .vssproj and gives me error messages, like : "The project file cannot be loaded. The application for project ... is not installed.". What am I doing wrong? The VS edition is 2005 as are all the projects aI am trying to load.
View 3 RepliesVB 2005 Express Visual BasicI want to move (part of) projects to different projects/ computer.I used File - export template- and was able to save templates of whole project or item(s).They saved nicely in a subdirectory called "templates" as zip files.How do I import to 1/ other project on same pc?2/ To a different computer?I tried copy zip files into corresponding folder on new system. No luck.
View 5 RepliesI made a change to a project and hve induced a major problem. I have warnings and errors now, but I can still debug the project with the "last successful build" Iwould like to just revert everything to that build but I can't find a way to eliminate the problems I induced or find a way to go to a earlier build. Hopefully I can get back to an earlier version or I will loose the entire project as I can no longer get to the designer.
View 5 RepliesIf I put this piece of code in a new fresh vb.net form, add a button and two labels and start debug I get execution time of about 11.5s.If I put the same piece of code in a new form in an old project upgraded from an earlier version of vb.net, start debug I get an execution time of 7.5s.So I do exactly the same in the two projects but get different execution times.
What do I have to do with the fresh new project to get the same execution time ?I am not interested in improving the code to be able to calculate primes faster. I just want to know what is the significant difference between an old upgraded project and a new fresh one. I am using windows 7 64bit on a 2,4 Ghz Intel quadcore.
Public Class Form2
Private Sub Button1_Click(sender As System.Object, e As System.EventArgs) Handles Button1.Click
Dim l, h, p As Integer
[code]....
I'm developing application that is plugable. The plugins are loaded via Assembly.LoadFrom(). In my solution I have 4 projects. A WPF, 2 DLL and another DLL that is a plugin for the app. The plugin project references one of the other DLLs. When I build the Solution and run I was getting an error trying to use the plugin dll because it was expecting an older version of the referenced project. I had to clean and rebuild the plugin project to get it to run correctly.
[Code]...
I am developing a Multi-Project solution (A, B) in Visual Studio 2008.
I need to run a second project from the start up one and then the first project should be closed.
The matter is that I want to Exit the A.exe and kill the process and the dll that are depending on it. And then Run the B.exe.
I am using 8 different vb projects in one solution, beside this I am also using one 3rd party control ion all the projects, while compiling the application it takes around 5 minutes to build the project, While building the application I have observe that it uses lc.exe file which is used for "Reads text files that contain licensing information and produces a .licenses file that can be embedded in a common language run time executable." at this point it takes too much time.
View 1 RepliesI new to this Forum and relatively new to VB programming. I have read some really good posts here and thought I would ask about a perplexing problem I'm having. I createdindows Form application, built it and deployed it with no problems. However, when I added a small block of code, re-built the app and went to add the app to the Project Output Group in the file system editor the project was not in the Project drop down list. I closed the Setup project and deleted it from the project folder and checked my code and re-built the app and tried the Set Up project again with the same result
View 2 RepliesHas anyone else had issues with Visual Basic 2010?My visual basic program has been running fine for months but recently every time I try and load a project (any project) the program freezes, then I have to close it down and reload, every time I load Visual basic for the second time I get the following error:
HTML
An error was encountered while opening associated documents the last time this solution was loaded. Document load is being skipped during this solution load in order to avoid that error.Plus when trying to run a project in debug it takes ages to load (around 5 minutes) this has only started happening recently, projects were loading in seconds.
How do i get multiple icons in a project for use with shortcuts OUTSIDE the project..
View 7 RepliesIs there a way that you can export a file from one project directly into another project?
For example, in one project i have a file called authInvalid.vb and i need to export it into another project?
Having successfully tried out nHibernate, I would now like to try using Fluent for mapping. My main project is in vb.net but I would really like to use c# for the mappings since the lambda expression capability makes it much cleaner. Can you have a separate project/assembly for your mapping files without creating a circular dependency with domain objects?
View 2 RepliesMy problem is with Splash screen I added it to my project but after running that project it displays forever until I clicked on my main forum. please help me how to give a particular time to splash screen i.e., 2 seconds.
View 5 RepliesI have a multi-project .NET 3.5 solution. It's ASP.NET based with c# code-behind in all projects except one.I'm attempting to access members from a C# project called "Core" from a VB.NET project. I set a dependency to the Core solution in my solution properties. However, Core. brings up nothing. Furthermore, my other C# projects that have Core-Project as a dependency (in the solution settings), are able to declare Core objects. Example: Private Core.ObjectName InstanceName; Also, Intellisense brings up plenty of info in the C# projects.how I can hook into these members from my VB project?
View 1 RepliesIs there a tool to convert a VB.NET 2005 project to a C# 2008 project. I am trying to convert our project to VS 2008 and mostly port all the vb.NET code in some projects to C# 3.0/3.5.
View 6 RepliesI have access to a database table that has been added as a datasource in project (A). Is there any way to refer to this database table from project (B) WITHOUT adding it to project (B)'s datasource?
ProjB.databasetable.GetDataSetSchema
I have a number of independent visual basic applications. Now I want to develop a window that will have command buttons to open each of the applications. How do I write the code in these buttons?
View 2 RepliesHaving successfully tried out nHibernate, I would now like to try using Fluent for mapping. My main project is in vb.net but I would really like to use c# for the mappings since the lambda expression capability makes it much cleaner. Can you have a separate project/assembly for your mapping files without creating a circular dependency with domain objects?
View 1 RepliesI am in Great problem, When I am running on my own machine then there is no problem creating but when I am running my project on another machine then the project generating problem which like this 'Could not load type 'TechnoAid.FrameWork.logManager' from assembly 'TechnoAid.FrameWork, Version=1.0.0.0, Culture=neutral,PublicKeyToken=null'."Source="Inventory.Metadata"TypeName="TechnoAid.FrameWork.logManager"StackTrace:
View 1 RepliesI have a project that is build in VB 6.0 version. I need to launch this project locally to debug an issue. But unfortunately I don't have VB 6.0 installed on my machine and my firm is not providing this software anymore. Is there any way that I can open VB 6.0 project using other versions of Visual Studio?
View 2 RepliesWhen I go to create a new project in VB I only get Name in lower pane to enter a name. I do not get Location or the 1 under Location. How do I get those 2 to display
View 2 Repliesi'm doing a program, and i'm working with a guy (he's kinda like a teacher) and he's teaching me tiered coding, UI, BLL and DAL.i've been taught to have the UI in one project, and the BLL in another, but they're in the same solution. pretty much i don't know how to declare things from the BLL project in the UI project.
View 1 RepliesI emptied the recently-viewed projects from the registry but now the project which I'm working on does not appear there even though I've opened it many times. How do I get the project to appear in recently-viewed projects?
View 5 Replies