Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0Building Speed?Building Speed?
Previous
 
Next
New Post
8/31/2006 10:48 PM
 
Hi all,

I see that when building dnn project, it's so slow, I have to wait so long. I'm using a laptop with 1.7g centrino CPU, 1G ram, but i beleive that i can not write a module with that building speed.
Do you have any hints or tips for this issue?

Thanks a lot
 
New Post
9/1/2006 4:49 AM
 
In .NET 2.0
1. If working on one module and do not make any changes to the core DNN, don't build. Your module will build on its own...
2. Remove all uneeded modules from your local DNN.

You'll be slow on a latop -- those hard drives spin slower, and centrinos aren't too speedy either. If you have the faster/newer 7200 RPM hard drive, you'll pick up some speed, but still not as fast as a desktop do to the size of the disc.

Jason Honingford - Web & Software Developer
www.PortVista.com
 
New Post
9/1/2006 5:08 AM
 

The problem with that option is that you're always building the complete DNN.

Did you try my BlankModule solution? It's a much faster module development enviroment.

If you want to take a look, the link is below in my sig.


Thanks,
Vladan Strigo
NETMedia

My website: Vladan.Strigo.NET

Vladan.Strigo.NET: Projects
* Advanced VS2005 development approach - BlankModule
* DNN & Microsoft Ajax best practices guidance

Vladan.Strigo.NET: Resources
* Comprehensive list of DNN 4 Module development resources

 
New Post
9/5/2006 5:39 AM
 
Tutorial from www.devtao.com/2006/08/16/Speedingup+DNN+Module+Development.aspx

Speeding-up DNN Module Development

Here is how you can speed-up DNN module development by skipping the app restart that occurs when assemblies in the "bin" folder are updated.

1) Create a "bin" folder under ~/DesktopModules (i.e. ~/DesktopModules/bin)

2) Modify your DNN web.config as follows:

<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<probing privatePath="bin;DesktopModules\bin" />
</assemblyBinding>
</runtime>

If you have a <runtime><assemblyBinding> section already present, just add the <probing ... > element, otherwise, you can just add this whole block right before </configuration>.

The "privatePath" attribute tells Fusion where to search for assemblies referenced by an application.

3) Change your module's script (ascx) file so the "Inherits" attribute includes the assembly name like this:

Inherits="Speerio.DNN.Modules.SkinStudio.Editor, Speerio.DNN.Modules.SkinStudio"

This corresponds to a typename of "Speerio.DNN.Modules.SkinStudio.Editor" and an assembly file "Speerio.DNN.Modules.SkinStudio.dll" (note: the extension should not be included in the "Inherits" attribute value).

4) Change your module’s VS.Net project build folder to ~/DesktopModules/bin

That's it. Now, when you recompile your module, there will be no application restart and the only assemblies that are converted from bytecode to native code are your module assemblies.

Please post a comment if you encounter any problems so I can modify the procedure if necessary.

 
Previous
 
Next
HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0Building Speed?Building Speed?


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out