IT Community - Software Programming, Web Development and Technical Support

DotNetNuke

This is a discussion on DotNetNuke within the ASP and ASP.NET Programming forums, part of the Web Development category; Change ur Web.config according to ur connection string To install the site, click Ctrl-F5 (ie. hold the Ctrl ...


Go Back   IT Community - Software Programming, Web Development and Technical Support > Web Development > ASP and ASP.NET Programming

Register FAQ Members List Calendar Mark Forums Read
  #21 (permalink)  
Old 02-22-2008, 10:09 PM
shaalini shaalini is offline
D-Web Analyst
 
Join Date: Apr 2007
Posts: 342
shaalini is on a distinguished road
Default Re: DotNetNuke

Change ur Web.config according to ur connection string
To install the site, click Ctrl-F5 (ie. hold the Ctrl key down while clicking on the F5 function key). The application may take a few minutes to build if this is your first installation. Your default web browser will launch and will show you the installation Progress.

Scroll to the bottom of the installation text in the browser window and select "Click Here To Access Your Portal". The default DotNetNuke application will be displayed.


You are now up and running. Login as the Administrator to add pages and content to your web site.

So lets examine the DotNetNuke 4.0 ( ASP.NET 2.0 ) benefits:

- reduction in the number of developer installation steps
- works with Visual Web Developer ( the lowest cost developer tool ) for a highly productive development experience
- leverages SQL Server 2005 Express ( the lowest cost database engine ) for a totally local development experience
Stay Tuned With me To create a control
__________________
Shaalini.S
Be the Best of Whatever you are...

Last edited by shaalini : 02-25-2008 at 11:41 PM.
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
  #22 (permalink)  
Old 02-25-2008, 11:36 PM
shaalini shaalini is offline
D-Web Analyst
 
Join Date: Apr 2007
Posts: 342
shaalini is on a distinguished road
Default Re: DotNetNuke

Setting Up The Module
We will create the module using the following steps:

Create the "View" control
Register the module in DotNetNuke

Create The Directories

Open your DotNetNuke website in Visual Studio.


Create the View Control

Right-click on the "DesktopModules" folder and select "New Folder"

Name the folder "SuperSimple"
Next, right-click on the "SuperSimple" folder and select "Add New Item..."

In the "Add New Item" box that opens:
Click on "Web User Control" under "Visual Studio Installed Templates".
Enter "SuperSimple.ascx" in the "Name" box.
Make sure the "Place code in a separate file" box is checked.
Click the "Add" button.



The "SuperSimple.ascx" file will be created in the "SuperSimple" folder under the "DesktopModules" folder.
Clicking the "plus" icon next to the file will display the associated code behind file "SuperSimple.ascx.vb" (or "SuperSimple.ascx.cs").
Double-click on the "SuperSimple.ascx" file and it will open up in the main editing window. Right now the page will be blank.
Click the "Source" button at the bottom of the page to switch to source view.
__________________
Shaalini.S
Be the Best of Whatever you are...

Last edited by shaalini : 02-25-2008 at 11:43 PM.
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #23 (permalink)  
Old 02-25-2008, 11:38 PM
shaalini shaalini is offline
D-Web Analyst
 
Join Date: Apr 2007
Posts: 342
shaalini is on a distinguished road
Default Re: DotNetNuke

Imports DotNetNuke
Imports System.Web.UI
Imports System.Collections.Generic
Imports System.Reflection
Imports DotNetNuke.Security.PortalSecurity
Partial Class DesktopModules_SimpleTest_SimpleTest
Inherits Entities.Modules.PortalModuleBase
Protected Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
If Not Page.IsPostBack Then
ShowData("")
End If

End Sub
Protected Sub btnSearch_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles btnSearch.Click
ShowData(txtSearch.Text)
End Sub
Private Sub ShowData(ByVal SearchString As String)
searchLabel.Text = SearchString


End Sub
End Class

<asp:TextBox ID="txtSearch" runat="server"></asp:TextBox>&nbsp;
<asp:Button ID="btnSearch" runat="server" Text="Click" /><br />
<br />
<asp:Label ID="searchLabel" runat="server"></asp:Label>
__________________
Shaalini.S
Be the Best of Whatever you are...
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #24 (permalink)  
Old 02-25-2008, 11:40 PM
shaalini shaalini is offline
D-Web Analyst
 
Join Date: Apr 2007
Posts: 342
shaalini is on a distinguished road
Default Re: DotNetNuke

To Execute the control deploy the module in DNN.
__________________
Shaalini.S
Be the Best of Whatever you are...
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #25 (permalink)  
Old 02-27-2008, 05:11 AM
bluesky bluesky is offline
D-Web Analyst
 
Join Date: Jun 2007
Posts: 201
bluesky is on a distinguished road
Default Re: DotNetNuke

Hi could u explain how to create module in dnn
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #26 (permalink)  
Old 02-27-2008, 05:14 AM
shaalini shaalini is offline
D-Web Analyst
 
Join Date: Apr 2007
Posts: 342
shaalini is on a distinguished road
Default Re: DotNetNuke

The website should come up.


Click Login:



From the HOST menu select "Module Definition"
__________________
Shaalini.S
Be the Best of Whatever you are...
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #27 (permalink)  
Old 02-27-2008, 05:16 AM
shaalini shaalini is offline
D-Web Analyst
 
Join Date: Apr 2007
Posts: 342
shaalini is on a distinguished road
Default Re: DotNetNuke

Click the small down arrow in the upper left hand corner of the Module
__________________
Shaalini.S
Be the Best of Whatever you are...
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #28 (permalink)  
Old 02-27-2008, 05:39 AM
shaalini shaalini is offline
D-Web Analyst
 
Join Date: Apr 2007
Posts: 342
shaalini is on a distinguished road
Default Re: DotNetNuke

On the next screen enter "Messgae" for the module name and "This module will show messages" for description. Click the UPDATE button at the bottom of the page.

The DEFINITIONS box will appear at the bottom of the screen. Type in "Show Message" and click ADD DEFINITION.
__________________
Shaalini.S
Be the Best of Whatever you are...
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #29 (permalink)  
Old 02-27-2008, 05:41 AM
shaalini shaalini is offline
D-Web Analyst
 
Join Date: Apr 2007
Posts: 342
shaalini is on a distinguished road
Default Re: DotNetNuke

The EDIT MODULE CONTROL box will appear. Use the drop-down box to select "add ur control here" for SOURCE and select "view" for TYPE.for ex as shoen in fig
__________________
Shaalini.S
Be the Best of Whatever you are...
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #30 (permalink)  
Old 03-03-2008, 06:09 AM
bluesky bluesky is offline
D-Web Analyst
 
Join Date: Jun 2007
Posts: 201
bluesky is on a distinguished road
Default Re: DotNetNuke

hi shaalini
How to create a basic new page in DNN
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #31 (permalink)  
Old 03-03-2008, 06:11 AM
shaalini shaalini is offline
D-Web Analyst
 
Join Date: Apr 2007
Posts: 342
shaalini is on a distinguished road
Default Re: DotNetNuke

The simplest way to add a new page to your website is to use the Add button in the Page Functions area of the Control Panel (at the top of the page).

1. Click the Add button on the Control Panel. The next page you see will allow you to specify Settings for the new Page you are about to create.

2. Put your cursor in the Page Name field and type a name for your Page. This will be what visitors see in your websites Menu.
__________________
Shaalini.S
Be the Best of Whatever you are...
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #32 (permalink)  
Old 03-03-2008, 06:14 AM
shaalini shaalini is offline
D-Web Analyst
 
Join Date: Apr 2007
Posts: 342
shaalini is on a distinguished road
Default Re: DotNetNuke

Your website Menu before adding the page
Your website Menu after adding the page
3. Put your cursor in the Page Title field and type a title for your Page. This will be what visitors see in the titlebar of their web browser when they visit your new Page.
__________________
Shaalini.S
Be the Best of Whatever you are...
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #33 (permalink)  
Old 03-03-2008, 06:15 AM
shaalini shaalini is offline
D-Web Analyst
 
Join Date: Apr 2007
Posts: 342
shaalini is on a distinguished road
Default Re: DotNetNuke

4. Select who can look at your Page and who can change its settings. Administrators (like you) can always see your page and make changes to its Settings. But you can choose who else can see it or change it. If your new page will have private information on it, you may want only visitors who have logged in to your website to be able to see it. Check the boxes for who should be able View (see) or Edit (change settings) for your new page. (An “Unauthenticated User” is a website visitor that has not logged in).
5. Select where on the Menu your Page should be listed. By default, your new page will appear on the menu just like the “Home” page. If you would like for it to appear in a dropdown menu, you can select the page you would like for it to appear beneath.


6. When you have finished with these steps, scroll to the bottom of the page and click Update to save your changes!
__________________
Shaalini.S
Be the Best of Whatever you are...
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #34 (permalink)  
Old 03-03-2008, 06:20 AM
bluesky bluesky is offline
D-Web Analyst
 
Join Date: Jun 2007
Posts: 201
bluesky is on a distinguished road
Default Re: DotNetNuke

hi,
Is it possible to Creating Secure DotNetNuke ASP.NET AJAX Web Services
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #35 (permalink)  
Old 03-03-2008, 06:21 AM
shaalini shaalini is offline
D-Web Analyst
 
Join Date: Apr 2007
Posts: 342
shaalini is on a distinguished road
Default Re: DotNetNuke

When implementing ASP.NET AJAX in your DotNetNuke module, you will usually discover that calling web services from your client-side code is an efficient method for accessing data because the web services can also be used by other programs, allowing you to reuse the code.

The problem with this strategy is that the web services need to be secured and you do not want to transmit unencrypted passwords over the network. Simply encrypting the passwords is not enough because the username / encrypted password combination can be captured with a packet sniffer or retrieved from the web browser cache and used to access the web service.
The Solution
__________________
Shaalini.S
Be the Best of Whatever you are...
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #36 (permalink)  
Old 03-04-2008, 08:39 PM
bluesky bluesky is offline
D-Web Analyst
 
Join Date: Jun 2007
Posts: 201
bluesky is on a distinguished road
Default Re: DotNetNuke

Hi
can u explain how to Create Secure DotNetNuke ASP.NET AJAX Web Services
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #37 (permalink)  
Old 03-04-2008, 08:41 PM
shaalini shaalini is offline
D-Web Analyst
 
Join Date: Apr 2007
Posts: 342
shaalini is on a distinguished road
Default Re: DotNetNuke

Using the IWeb module you can easily create secure web services.

Download and install IWeb

Download and install IWeb from IWeb Website > Home. It will create files in a IWeb directory in the App_Code folder:


and in a IWeb directory in the DesktopModules folder:
__________________
Shaalini.S
Be the Best of Whatever you are...
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #38 (permalink)  
Old 03-04-2008, 08:44 PM
shaalini shaalini is offline
D-Web Analyst
 
Join Date: Apr 2007
Posts: 342
shaalini is on a distinguished road
Default Re: DotNetNuke

When you place an instance of the module on a page in your DotNetNuke site, you will see the IWeb main screen that provides links to the sample web services client as well as a link to the IWeb configuration page.

Clicking Edit IWeb Configuration will take you to the IWeb configuration screen.
__________________
Shaalini.S
Be the Best of Whatever you are...
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #39 (permalink)  
Old 03-04-2008, 08:46 PM
bluesky bluesky is offline
D-Web Analyst
 
Join Date: Jun 2007
Posts: 201
bluesky is on a distinguished road
Default Re: DotNetNuke

Can u explain how to Create an IWeb Web Services Method
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #40 (permalink)  
Old 03-04-2008, 08:48 PM
nnraja nnraja is offline
D-Web Programmer
 
Join Date: May 2007
Posts: 94
nnraja is on a distinguished road
Default Re: DotNetNuke

In Visual Studio 2005 (or Visual Web Developer Express), right-click on the IWeb folder under the App_Code directory

and select Add New Item.

Select Class for the template and add your web service method
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

LinkBacks (?)
LinkBack to this Thread: http://www.discussweb.com/asp-asp-net-programming/5300-dotnetnuke.html
Posted By For Type Date
DiscussWeb IT Community - Technical Support and Technology Discussions This thread Refback 02-25-2008 11:40 PM

Similar Threads
Thread Thread Starter Forum Replies Last Post
Explain DotNetNuke Multiple Portal Method oxygen C# Programming 1 07-23-2007 01:15 AM
DotNetNuke econwriter5 ASP and ASP.NET Programming 2 04-24-2007 10:57 PM


All times are GMT -7. The time now is 06:33 PM.


Copyright ©2004 - 2007, DiscussWeb. All Rights Reserved.

SEO by vBSEO 3.0.0