Products

Solutions

Resources

Partners

Community

About

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

HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsStoreStoreWWStore Lessons Learned - Debugging, Web Application Projects, MoreWWStore Lessons Learned - Debugging, Web Application Projects, More
Previous
 
Next
New Post
2/7/2007 11:09 AM
 

Hello:

I have recently written several lengthy posts regarding my adventures getting into the development of the store module. I spent quite a bit of time spinning my wheels trying to get the 'optimal' Visual Studio solution for the Store module released by Allan Thompson on a separate thread in these forums. Specifically, since I only recently seriously got into ASP.NET 2.0 development, I hadn't really paid much attention to the various compilation/project models supported by ASP.NET/Visual Studio 2005.

Specifically, the WWStore module released by Allan is a subtely modified version of the Core Store module released in January of last year. He has a list of enhancements somewhere in his thread, but unfortunately he didn't detail how to get started using the module. I posted a lengthy how-to in a response to his original thread, and it pretty much still stands as being the best way to do development in a DotNetNuke module, be it VB.NET or C#, by using Web Application Project for the module's code, and using a similar approach to the _DNNStub project so popular with DNN 3.x/ASPNET 1.1 development. I am tempted to go into all the details again, but they are complete in my other response.

The reason for this post is mainly to re-iterate what I should have found at the outset of my own futile efforts: Read Scott Guthrie's VS 2005 Web Application Project V1.0 Released blog entry. For a little background on why WAP is so important, read this blog entry by Rick Stahl: Understanding Page Inheritance in ASP.NET 2.0. Specifically, the original compilation strategy of Web Projects prevented any user control from being programmatically loaded from another web user control if that web user control was not in the same directory with it's companion. WAP Fixed this. One little point I overlooked is that the WAP model requires/re-introduces the CodeBehind Page & Control attribute. (which won't work unless you have a WAP).

Also of interest is this blog entry on DNN 4 Module Development: Using Web Application Project(WAP) for development of DotNetNuke modules with Edit and Continue Support  http://geekswithblogs.net/mnf/archive/2006/08/08/87356.aspx

 
New Post
2/24/2007 9:41 AM
 

Hello Kennster,

With regard to an ecommerce module for dotnetnuke, i have been deciding over the last few months whether my company should

- Use the original Dotnetnuke project module and rectify the bugs so to stay close to a possible upgrade path when Will releases store 2
- Go with Alan's excellent revisions and then continue to go it alone with my team of developers.
- Use Sysdatanets mature product and purchase the developers licence (have concerns that the contract says the licence can be revoked as sysdatanet discretion.

I will have a look at your suggested posts over the coming days and simply wanted to thank you while i was in this post for your efforts, i have noticed your name appear a few times in the Store forums...

Regards
Bryn

http://www.planetspringwell.com 

 
New Post
2/28/2007 5:55 PM
 

Hello Bryn:

Having spent enough time with the WWStore enhancement of the original core store, I would suggest this would make a great starting point for you. The best I can tell, the main enhancements of the WWStore include the email payment provider, very basic administrative order processing capability (ability to search for orders, view orders, and modify the status of that order), and of course, conversion to .NET 2.0.

One thing I found which I wasn't able to adequately describe in my previous post(s), is that the project type for the WebControls project in the WWStore solution is a basic assembly, NOT Web Application Project. In order to convert this project, I had to manually hack in the necessary project type elements in the .csproj and after some trial and error was able to open the project as a web application project. Once the project was converted, I then did the conversion step to web application which processed all the ascx and aspx controls to have the .designer and asp.net 2.0 page directives etc.... Once this was accomplished, working in DNN 4.x development to me is virtually identical to DNN 3.x/VS2003 process. My solution architecture is essentially identical to my 3.x architecture. I understand there might be a way to get edit & continue to work with DNN, but my attempts have proven futile: whenever I try to start dnn using those guides, I get the infinite redirect loop.

 

 
New Post
3/1/2007 3:45 PM
 

Hello Kenneth,

Yes i agree, WWStore has some nice features and looks perfect for a ligh weight store. I haven't used Dotnet alot since the original 1.0375 release plus a small amount of time with version 1.1 using c#, before i decided to move to J2EE (looked like a good option back in 2001). Therefore i need to relearn some of the many ways to use Visual Studio 2005 and the best pratices/approach for projects. However i recently got the original Store project (source version) up and running and debuggable within Visual Studio 2005 without converting it to the DNN4 approach of putting everything into the dotnetnuke installation. I prefer to write applications in small/medium size libraries each library designed for various tasks, as you knopw this allows for seperating coding tasks between developers amongst other reasons. Therefore i am not initially convinced in the value of the new DNN4 method of development. Its early days and i must still experiment but i would interested in understanding the advantages of the DNN4  approach (if they exist).
I am also having difficulties getting the edit and continue working as well, but if i find a way i will let you know

Best Regards
Bryn

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsStoreStoreWWStore Lessons Learned - Debugging, Web Application Projects, MoreWWStore Lessons Learned - Debugging, Web Application Projects, More


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