ASP.NET MVC Framework
-
Hi, I have been checking out this framework, and I see that they have classes that are part of the web project. I don't like having classes in my web project, but rather as DLLs. Does any one know why this framework does not create DLLs from projects? I think web client software factory makes use of projects for everything. If classes are part of the web project, does it take longer at runtime? I am looking for speed. Please can I hear your comments. Brendan
-
Hi, I have been checking out this framework, and I see that they have classes that are part of the web project. I don't like having classes in my web project, but rather as DLLs. Does any one know why this framework does not create DLLs from projects? I think web client software factory makes use of projects for everything. If classes are part of the web project, does it take longer at runtime? I am looking for speed. Please can I hear your comments. Brendan
It doesn't matter if you separate your code into a separate project. If you publish the website precompiled then the speed is the same. If you don't precompile then it will be slow when it compiles for the first user only. http://msdn.microsoft.com/en-us/library/cc668225.aspx[^]
I didn't get any requirements for the signature
-
Hi, I have been checking out this framework, and I see that they have classes that are part of the web project. I don't like having classes in my web project, but rather as DLLs. Does any one know why this framework does not create DLLs from projects? I think web client software factory makes use of projects for everything. If classes are part of the web project, does it take longer at runtime? I am looking for speed. Please can I hear your comments. Brendan
The "class" vs. "dll" question is something many people ask themselves. A DLL is a container for classes, therefore when you create a class, it is compiled into a DLL/Assembly. You can simply create another "library" project and move your classes/code from the console project. Once done, then yes, you have to add a reference to that assembly in your console application. As far as speed and performance- it's not really faster either way. The contents of the DLL are made available, but not included. The use a DLL can clean up our code because it allows you to refer to class names without their namespace. You can compile one or more classes to a DLL and clean up your code this way. This may or may not increase your performance as a developer. Have fun!
Ranjit Viswakumar Professional Services Specialist http://hostmysite.com/?utm\_source=bb