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.0Using DotNetNuke Framework in Windows forms Application?Using DotNetNuke Framework in Windows forms Application?
Previous
 
Next
New Post
8/14/2008 2:54 AM
 

Hey there!

 

I've got a bit curious querstion ;)

We want to use DotNetNuke for our websites. Currently we use a Windows forms application fir the support to get user information and so on.

Now its the Question on how we can use this application in connection with DotNetNuke.

 I simply tried to use the DotNetNuke Framework and a App.Config like the Web.Config.

But that seems not to work either i got nothing back or a TypeInitializationException

Is there a possibility to use the DotNetNuke Framework in a Windows forms application?

 

greetings

 
New Post
8/14/2008 8:09 AM
 

See: http://iweb.adefwebserver.com/

IWeb allows you to communicate with your DotNetNuke Portal using clients

 IWebscreenshot.jpg
 



Michael Washington
http://ADefWebserver.com
www.ADefHelpDesk.com
A Free Open Source DotNetNuke Help Desk Module
 
New Post
8/14/2008 9:38 AM
 

Thanks for your answer!

 

The problem is:

Our client doesn't want to use a Webservice for the user management. 

To understand the situation: We have several workstations in the same network as the database server. They should be used to manage our users.

It would be ideal to use the DNN-Functions from a Windowsforms application (using the DNN-dll).

The main question is, is this theoretically possible?  (and if it is, how?)

 

Thanks in advance!

 

 
New Post
8/20/2008 10:12 AM
 

I don't think this would be even be theoretically possible because several portions of the code are currently reliant on an HttpContext.  There are ways to "fake" an HttpContext in a scheduler method but even those still use the AppDomain of the web folder.  Trying to fake an HttpContext from a Windows client would probably not work.

What is the reasoning why the client doesn't want to use a WebService?  Security? (that can be worked around--examples from IWeb are pretty good examples how to make a WebService secure).  Performance? (having an intermediary webservice really isn't *that* bad a performance hit).  Other?

If they really don't want to use a web service, how about WCF?  There are some examples here and there (right back to Michael Washington) about how to implement WCF with DNN.

Otherwise you could write your own classes to interact with the DNN database but you'd have to revisit it with every update to ensure any changes in the database structure are taken into account by your own code.  At least you would be able to do it without a web service but oh, what a pain in the bum.


-- Jon Seeley
DotNetNuke Modules
Custom DotNetNuke and .NET Development
http://www.seeleyware.com
 
New Post
7/12/2010 4:28 PM
 

I have issues getting the set up of IWebCF running.  I have DNN 5.4.1 and installed just installed IWebCF 2.0.  My DNN website is in C:\Inetpub\wwwroot\DNN\ and I see the folder for C:\Inetpub\wwwroot\DNN\DesktopModules\IWebCF.  I don't rebuild the site and just browse to http://localhost/DNN/DesktopModules/I..., I get an error message It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level.  This error can be caused by a virtual directory not being configured as an application in IIS.  I guess this is b/c inside C:\Inetpub\wwwroot\DNN\DesktopModules\IWebCF folder, there's a web.config file.  Do I have to set this folder up as virtual directory in IIS?  I tried but it didn't work either.

Another issue is when I tried to build CoreService.svc page inside DNN website, I'm getting an error 'ServiceHostFactory' is ambiguous in the namespace 'System.ServiceModel.Activation'.

Please point me to the right direction with this.

Also, when I get this set up running properly, I hope that I can browse to http://localhost/DNN/DesktopModules/I... method and see a test page??? or I can use the IWebCF example project and change the reference to point correctly to my DNN WCF and it should work right?

Thanks.

 
Previous
 
Next
HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0Using DotNetNuke Framework in Windows forms Application?Using DotNetNuke Framework in Windows forms Application?


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