.Service1" %>As is typical in the Visual Studio product line, most of the attributes defined in the WebService directive are used by the editor and are ignored by the runtime. As I mentioned, you must specify the Language attribute only if the implementation of the Web service resides within the .asmx file. In addition, the code-behind file is always ignored by the ASP.NET runtime and is used by Visual Studio .NET to bring up the appropriate source code file when you select View Code within the IDE. One other potential gotcha is that Visual Studio .NET will only partially maintain this file. When you rename the .asmx file to something more meaningful, Visual Studio .NET will automatically rename the associated code-behind file and update the WebService directive accordingly. As a common practice, I also rename the class that implements the Web service to match the name of the .asmx file. Unfortunately, Visual Studio .NET will not automatically update the Class attribute. If you rename the class, you have to manually update this attribute yourself. Furthermore, double-clicking the .asmx file to update this attribute will display the design surface, not the file text. Visual Studio .NET does not provide the same buttons shown on an .aspx file's design surface that allow you to switch between the design view and the underlying text of the file. You have to right-click the file, choose Open With, and then select Source Code (Text) Editor. Now that I have discussed the two options—placing the implementation for your Web service within the .asmx file or within its own assembly—I am sure you are wondering which one you should use. Well, as with most design decisions, it depends. Placing the code within the .asmx file provides the simplest means of deployment because ASP.NET will compile the code dynamically for you. However, deploying the implementation within an assembly ensures that your code will not contain compilation errors. Also, if you are deploying the Web service outside the confines of your data center, others will not have access to the source code. Another potential advantage of having the implementation of your Web service reside within an assembly is that it can be directly referenced by other applications hosted on the same machine. For example, suppose I provide an HTML-based UI that allows my customers access to the functionality of the Securities Web service. If the class containing the implementation of the Web service is in its own assembly, the Web application can reference the assembly and directly access the Web service class. This avoids the unnecessary overhead of accessing the functionality remotely. You should take this approach with caution, however. Some Web services rely on services provided by the ASP.NET runtime to function correctly. For example, a Web method might set an attribute stating that the ASP.NET runtime must create a new transaction on its behalf. Because ASP.NET is responsible for ensuring that a transaction is created, no transaction will be created if the class implementing the Web service is accessed directly. Regardless of which option you choose, the code for implementing the Web service will be the same. For starters, I will implement one method within my Securities Web service, InstantQuote. Plenty of services on the Web give quotes on the price of a company's stock. However, these quotes are often time delayed and can be more than 20 minutes old. InstantQuote will use an extremely complex algorithm to obtain the price a security is trading at on the floor. Following is the implementation. using System; using System.Web.Services; namespace BrokerageFirm { public class Securities : WebService { [WebMethod] public double InstantQuote(string symbol) { double price = 0; switch(symbol) { case "MSFT": price = 197.75; break; case "SUNW": price = 2.50; break; case "ORCL": price = 2.25; break; } return price; } } } All right, so the algorithm is not that complex. What do you expect with an example? The important thing to note is that the implementation of the Web service is a standard public class declaration with a WebMethod attribute decorating the InstantQuote method. This class declaration can be either compiled into an assembly or placed as is within the .asmx file, and it is the same whether it is contained within the .asmx file or compiled into a separate DLL. Each method that is intended to be exposed by the Web service must be public and must be decorated with the WebMethod attribute. This tells the ASP.NET runtime to expose the method as publicly accessible. From this point on, I will refer to a method of a class decorated with the WebMethod attribute as a Web method. When you decorate a method with the WebMethod attribute, you can also set various properties that modify the behavior of the ASP.NET runtime. Table 6-1 lists the properties exposed by the WebMethod attribute. Table 6-1 Properties of the WebMethod Attribute Property Description BufferResponse Specifies whether the response to the client should be buffered. CacheDuration Specifies the amount of time, in seconds, that a response will be cached in memory by the Web server for a given response. The default is 0. Description Specifies the value of the description element under each operation element within each type definition within the ASP.NET-generated WSDL document. EnableSession Specifies whether the ASP.NET session state services will be available for the implementation of the method. MessageName Specifies the name of the method exposed by the Web service. Specifically, it sets the name of the element within the body of the SOAP message that contains the parameters as well as the suffix of the SOAP action. It also specifies the prefix of the names of the message, input, and output elements within the ASP.NET-generated WSDL document. TransactionOption Specifies the transactional support that should be provided for the implementation of the method. The method can serve only as the root of a transaction and cannot participate in the caller's transaction. The ASP.NET page framework also provides the WebService attribute. This attribute is set at the class level and is used to modify properties of the Web service as a whole. Changes made via the WebService attribute will be reflected in the Web service's WSDL document. Table 6-2 lists the properties exposed by the WebService attribute. Table 6-2 Properties of the WebService Attribute Property Description Description Specifies the description element under the service element within the ASP.NET-generated WSDL document. Name Specifies the name of the service element within the ASP.NET-generated WSDL document. It also specifies the prefix for the names of the portType, binding, and port elements. Namespace Specifies the target namespace for the WSDL document as well as the schema document that defines the structures for encoding the parameters within the body of a SOAP message. It also specifies the prefix of the namespace for the schema that contains any custom types defined by the Web service and the value of the SOAP action. Now that I have defined the Securities Web service, let's talk about how clients can access it.
Monday, March 28, 2011
Creating an ASP.NET Web Service
.Service1" %>As is typical in the Visual Studio product line, most of the attributes defined in the WebService directive are used by the editor and are ignored by the runtime. As I mentioned, you must specify the Language attribute only if the implementation of the Web service resides within the .asmx file. In addition, the code-behind file is always ignored by the ASP.NET runtime and is used by Visual Studio .NET to bring up the appropriate source code file when you select View Code within the IDE. One other potential gotcha is that Visual Studio .NET will only partially maintain this file. When you rename the .asmx file to something more meaningful, Visual Studio .NET will automatically rename the associated code-behind file and update the WebService directive accordingly. As a common practice, I also rename the class that implements the Web service to match the name of the .asmx file. Unfortunately, Visual Studio .NET will not automatically update the Class attribute. If you rename the class, you have to manually update this attribute yourself. Furthermore, double-clicking the .asmx file to update this attribute will display the design surface, not the file text. Visual Studio .NET does not provide the same buttons shown on an .aspx file's design surface that allow you to switch between the design view and the underlying text of the file. You have to right-click the file, choose Open With, and then select Source Code (Text) Editor. Now that I have discussed the two options—placing the implementation for your Web service within the .asmx file or within its own assembly—I am sure you are wondering which one you should use. Well, as with most design decisions, it depends. Placing the code within the .asmx file provides the simplest means of deployment because ASP.NET will compile the code dynamically for you. However, deploying the implementation within an assembly ensures that your code will not contain compilation errors. Also, if you are deploying the Web service outside the confines of your data center, others will not have access to the source code. Another potential advantage of having the implementation of your Web service reside within an assembly is that it can be directly referenced by other applications hosted on the same machine. For example, suppose I provide an HTML-based UI that allows my customers access to the functionality of the Securities Web service. If the class containing the implementation of the Web service is in its own assembly, the Web application can reference the assembly and directly access the Web service class. This avoids the unnecessary overhead of accessing the functionality remotely. You should take this approach with caution, however. Some Web services rely on services provided by the ASP.NET runtime to function correctly. For example, a Web method might set an attribute stating that the ASP.NET runtime must create a new transaction on its behalf. Because ASP.NET is responsible for ensuring that a transaction is created, no transaction will be created if the class implementing the Web service is accessed directly. Regardless of which option you choose, the code for implementing the Web service will be the same. For starters, I will implement one method within my Securities Web service, InstantQuote. Plenty of services on the Web give quotes on the price of a company's stock. However, these quotes are often time delayed and can be more than 20 minutes old. InstantQuote will use an extremely complex algorithm to obtain the price a security is trading at on the floor. Following is the implementation. using System; using System.Web.Services; namespace BrokerageFirm { public class Securities : WebService { [WebMethod] public double InstantQuote(string symbol) { double price = 0; switch(symbol) { case "MSFT": price = 197.75; break; case "SUNW": price = 2.50; break; case "ORCL": price = 2.25; break; } return price; } } } All right, so the algorithm is not that complex. What do you expect with an example? The important thing to note is that the implementation of the Web service is a standard public class declaration with a WebMethod attribute decorating the InstantQuote method. This class declaration can be either compiled into an assembly or placed as is within the .asmx file, and it is the same whether it is contained within the .asmx file or compiled into a separate DLL. Each method that is intended to be exposed by the Web service must be public and must be decorated with the WebMethod attribute. This tells the ASP.NET runtime to expose the method as publicly accessible. From this point on, I will refer to a method of a class decorated with the WebMethod attribute as a Web method. When you decorate a method with the WebMethod attribute, you can also set various properties that modify the behavior of the ASP.NET runtime. Table 6-1 lists the properties exposed by the WebMethod attribute. Table 6-1 Properties of the WebMethod Attribute Property Description BufferResponse Specifies whether the response to the client should be buffered. CacheDuration Specifies the amount of time, in seconds, that a response will be cached in memory by the Web server for a given response. The default is 0. Description Specifies the value of the description element under each operation element within each type definition within the ASP.NET-generated WSDL document. EnableSession Specifies whether the ASP.NET session state services will be available for the implementation of the method. MessageName Specifies the name of the method exposed by the Web service. Specifically, it sets the name of the element within the body of the SOAP message that contains the parameters as well as the suffix of the SOAP action. It also specifies the prefix of the names of the message, input, and output elements within the ASP.NET-generated WSDL document. TransactionOption Specifies the transactional support that should be provided for the implementation of the method. The method can serve only as the root of a transaction and cannot participate in the caller's transaction. The ASP.NET page framework also provides the WebService attribute. This attribute is set at the class level and is used to modify properties of the Web service as a whole. Changes made via the WebService attribute will be reflected in the Web service's WSDL document. Table 6-2 lists the properties exposed by the WebService attribute. Table 6-2 Properties of the WebService Attribute Property Description Description Specifies the description element under the service element within the ASP.NET-generated WSDL document. Name Specifies the name of the service element within the ASP.NET-generated WSDL document. It also specifies the prefix for the names of the portType, binding, and port elements. Namespace Specifies the target namespace for the WSDL document as well as the schema document that defines the structures for encoding the parameters within the body of a SOAP message. It also specifies the prefix of the namespace for the schema that contains any custom types defined by the Web service and the value of the SOAP action. Now that I have defined the Securities Web service, let's talk about how clients can access it.
SOAP
A Simple Commerce Application
Why Web Services?
ASP.NET 2.0 AJAX
Sunday, March 6, 2011
Debugging a DotNetNuke Installation
We will cover the following topics and tools:
* Part 1 - Introduction to Profilers
* Part 2 - Using SQL Profiler to Analyze Database Activity
* Part 3 - Using DotTrace to Analyze .NET Activity
* Part 4 - Using Managed Stack Explorer to View Stack Traces
* Part 5 - Using WireShark to wire-tap a Broken Module
Video 1 - Introduction to Profilers
* Introduction
* What are Profilers?
* Two Kinds of Profilers
* How to use Profilers to find Problems
* Two common types of performance problems
* Common Profiler Tools
Time Length: 2min 40secs
You need to Subscribe as a member of DNN Creative Magazine and Login to download this video tutorial.
Video 2 - SQL Profiler
* How to get SQL Profiler
* Running SQL Profiler
* Connecting to a Database Server
* Recreating the Performance Problem
* Understanding SQL Profiler's Data
Time Length: 4min 08secs
Video 3 - DotTrace
* How to get DotTrace
* Running DotTrace
* Profiling IIS
* A word of Warning
* Collecting Performance Data
* Understanding the Thread Tree and Call Tree
* Exploring the Call Tree
* Diagnosing the Performance Issue
Video 4 - Managed Stack Explorer
* Managed Stack Explorer vs DotTrace
* How to get Managed Stack Explorer
* Exploring Processes
* Exploring Threads
* Exploring Stack Traces
* Identifying the Problem
Video 5 - WireShark
* What is WireShark?
* How do you get a copy of it?
* Starting up WireShark
* The problem: A broken flash module
* Our first Wire-Tap
* Converting Packets to Streams
* Exploring the Flash Module's Stream
* Identifying the Flash Module's Problem
SOURCE:http://www.dnncreative.com/Tutorials/DNNTutorialsforAdvancedUsers/DotNetNukeDebugging/tabid/638/Default.aspx
DotNetNuke Portal Starter Kit
Overview
- Fully dynamic web site allows for an unlimited number of Pages
- Pages can contain an unlimited number of Content regions and Content types
- Advanced Content Management enabled via a standard Web Browser
- Build an online Community with robust Membership Management
- Secure your Content using advanced Roles and Permissions
- Multi-tenancy allows for multiple Sites to be hosted from a single installation
License
- Unrestricted Open Source BSD license
- FREE use in non-commercial and commercial environment
Extensibility
- Modular architecture enables hundreds of third party plug-in Modules
- Designer-friendly Skinning engine for total site customization
- Multiple database support through Providers
- More than 70 Language Packs to support International users
Support
- More than 550,000 registered users since Dec 24, 2002
- Maintained and supported by DotNetNuke Corporation
Dot Net Nuke (DNN)
Dot Net Nuke (DNN) is open source content management system; initially developed in year 2002 and fully developed community for the last 6years supports it with strength of more than 575,000 registered users all over the world. Developed on most popular Microsoft ASP.NET technology and uses various databases for the storage of content. It is cheap to use and helps in reduction of total cost on development.
Few technical and non-technical advantages of DNN
* Its perfect content management system
* Free of cost availability and no licensing fees
* Full access to the source code to custom fit DNN to particular organizational needs
* DNN community building continually new features and functions
* Few important contents manageable by DNN are Text, Images, Documents, Links, Events, News, Banner ads, Threaded discussion forums, Email forms, Broadcast email, Site registration, RSS news feeds etc
* Modifications like graphic design and functionality
* Integration
* Able to support multiple websites from a single application installation
* Built in features provides extraordinary functionality
* Easy installation
* Management of site hosting, content management, security, web design and membership options
* Multi-language feature
Our dedicated services for DNN projects
Hiddenbrains.com has performed various offshore projects to prove its progressive approach towards new technologies for online web development. We have worked on several open source projects. Our research & development team always seeks opportunities to innovate and implement new technologies to satisfy our offshore clients. We are having decent presence for providing services in DNN customization, as we are group of experienced professionals. Projects were handling by team of experts to achieve perfect solution for each project. One of our successful projects is as under:
Fanous.com
Fanous.com was a jewelry shop website developed by hiddenbrains.com using DNN technology. Our development team had performed the project by implementation of its total features. Such a wonderful project covered all technical functionality of DNN. This website was able to handle the total functionality of multiple portals with single application.
There were three portals
* Fanous.com (it was front portal for the presentation of products and services for the customers)
* Fanous.biz (it was main administration for the total control of content on the website)
* Precision.net (it was administrative control for the employees of the company and other administrative controls)
Implementation of DNN features under this project according to business requirements of the client were
* Strong admin control over three portals
* Users at front hand able to choose the jewelry and order and can pay
* System settings
* Sub admin facilities and different roles given to other admin users
SOURCE:http://www.hiddenbrains.com/dotnet-nuke-development.html
Hire DotNetNuke Developers / Programmers
DotNetNuke Content Management System is extensible and customizable through the use of skins and modules, and it can be used to create, deploy, and manage intranet, extranet, and web sites
DotNetNuke is an open source web application framework written in VB.NET for the ASP.NET framework.. DotNetNuke is designed for use on the Microsoft ASP.NET 2.0, 3.0, and 3.5 platforms using Visual Studio 2005, Visual Studio 2008, or Visual Web Developer.
ExpertsFromIndia can build you a DotNetNuke module customized to fit your business needs. Our developers have the skills to design and build a custom solution that follows your current business logic and integrate it into your DotNetNuke web site.
Our DotNetNuke Module Development services include:
- Custom web application development
- Business logic and data integration
- Business process integration
- 3rd party application integration
- Professional DotNetNuke support
ExpertsFromIndia can provide everything from module planning to deployment, including training and support; our developers deliver solid web solutions on time and on budget
At Experts From India, we believe in great partnerships that delivers great results. Determining your business goals can help us not only in choosing the right application for you but also in delivering effective expertise.
Request a free quote to know more about customization and development of DotNetNuke.
DotNetNuke (DNN) Benefits | Sharepoint 2007 Benefits | |
| Anyone in your company can edit content anywhere anytime | Content Management for Web Content, Records and Documents | |
| Used by 250,000+ organisations worldwide | Powerful Workflow, Security and Content Policies | |
| Easy to Deploy & Customise | Source & Version Control | |
| Built on ASP.NET and SQL Server | Enterprise Search | |
| Large number of 3rd party modules | Built on ASP.NET and SQL Server |
Hire DotNetNuke Developers
Experts From India offers you excellent services one of that is hire DotNetNuke developer. Our dedicated DotNetNuke developers are experts to provide you complete solution to your DotNetNuke application related services and needs. They are always at your service ensuring that your job will be done in time with the finest accuracy and available for urgent needs like patching or restoring your system after a crash. We look forward to assist you at anytime.
Cost to Hire Dedicated DotNetNuke developer
Our DotNetNuke developers/programmers are higly skilled with years of hands on experience. Their area of expertise includes ecommerce-shopping cart, dynamic website development, database management, project management, security and more. They are proficient in PHP, MySQL, JavaScript, VBScript, XML. A highly skiiled and experienced DotNetNuke developer cost you Starting From $5.0 Per Hour. For more details on DotNetNuke Dedicated developers pricing, Request a free Quote.
DotNetNuke Programmer Working Time
Experts From India’s Experts DotNetNuke Developers / Programmers works dedicatedly for you, 10 hours a day, 6 days a week. DotNetNuke Dedicated programmers will work under your timeframe and you can contact through MSN/Skype. In urgent case, you can directly call on developers mobile also. Experts From India always give 200% to clients with best solutions.
How DotNetNuke Developers/Programmers Works
After finalizing the DotNetNuke developers and project specification, your assigned DotNetNuke developer(s) can start ready to work within 24 hours.You can contact with your allocated DotNetNuke developer(s) through instant messenger and email.
Monitor Work:
- Monitor project undertaken by your assigned DotNetNuke developer(s).
- Project timetable and the outcome you expect from DotNetNuke programmer(s)
- Follow-ups of development process for confirmation of project staying on right way
- Interact hired DotNetNuke programmer(s) directly.
- Experts From India’s management provides supervision to your developer(s)
- Your offshore dedicated DotNetNuke developer will give services same as an in-house developer.
Payment Terms: The developer is going to work for you, on monthly contract hiring basis. Mode of payment will be Bank Wire Transfer, Credit Card or Paypal.
Get free Quote for detailed proposal for your DotNetNuke Applicationt.
SOURCE:http://www.expertsfromindia.com/dotnet-nuke-development.htm
How to make money from your DotNetNuke website
These methods can be used with any type of website from a static to a dynamic website. The advantage of using DNN is the flexibility and ease of use for configuring and tracking.
Advertising
The first and easiest method for a web master to implement on their website is to enable advertising.
There are several advertising methods that you can implement and we will discuss each of them in turn.
Text/HTML
DotNetNuke provides an easy solution for combining all of the various advertising methods through the use of the Banners module. The Banners module allows you to rotate advertisements on each page load, while also allowing you to track the number of click-throughs for each advertisement.
The banners module can display all of the advertising types that are mentioned below; it is not just limited to displaying banner image advertisements.
You can learn how to use and configure the banners module in this tutorial.
Payment Schemes
Before we discuss the various advertising methods, we need to explain the payment schemes that the advertising methods tend to use.
Pay-Per-Impression
Your payments are based on how many impressions you display an advertisers’ banner for. An impression is a page view of the banner by a visitor to your website. Typically payments are calculated on a Cost-Per-Thousand impressions (CPM) basis ie. $5 CPM refers to $5 for 1000 displays of the banner. The higher the traffic on your website the more impressions you can generate and therefore the more advertisers you can display and create more income.
On very high traffic websites some webmasters use a pay per month method where you pay a set amount to advertise on the website for the month with a guaranteed minimum number of impressions.
Pay-Per-Click
You receive a payment each time an advertisement is clicked on. Payments for this can vary from a few cents to several dollars per click. The payment level depends on the niche and the consumer demand for the niche. Other factors that you need to take into consideration are your conversion level ie. How many times is an advertisement displayed before it receives a click? If you can generate a high CTR (Click-Through-Rate) and a high level of traffic you can generate a good source of income even from low paying pay-per-click advertisements.
Pay-Per-Lead
Here you receive a payment for any leads you send to the advertiser. The visitor to the advertisers’ website may have to supply their email address and sign up to an email newsletter before you receive a payment.
You need to bear in mind that this may involve two steps. The first is the conversion of the visitor clicking on the advertisement on your website and the second is the conversion of the visitor on the advertisers’ website signing up to the newsletter.
This type of income may receive fewer conversions than pay per click, but the payments per lead tend to be higher, so you can potentially earn a higher income than Pay-Per-Click.
Pay-Per-Sale
Potentially this method has the lowest conversion rate, but if the advertisers are carefully targeted to the niche topic of your website you could receive a large income. An example of this is the affiliate marketers that earn millions each year from selling other peoples products. In this method you only receive a payment when a visitor to your website purchases a product from your advertiser.
Payments
If you are implementing Pay-Per-Impressions advertising you can request payment for the advertisement up front before you allow the advertisement to be displayed on your website. For all of the other methods, payment tends to be held back until you have accumulated on average $100 in clicks / leads / sales. Also make sure that you double check how soon they make a payment after you reach the minimum payment level. Some programmes may wait 30 days until they pay you. This is important to check for the cashflow of your business.
Tip
If there is one tip I can pass on it is this. Test the advertisement method for a month and if it is not making enough money, analyze why:
* Do you need to increase the conversion rate?
* Do you need to increase the traffic?
* Is the advertisement suitable for your niche market?
Several years ago, I learnt a lesson the hard way. In the first year of creating a website directory, all of the advertising was based on the pay per sale method. The traffic on the website was high, the click through rate on the banner ads was good, but the sale conversion was very low (the products were not close enough to my niche). I made less than $100 in a year which I never received because the minimum payment was $100. I then switched to pay-per-click and pay-per-impression and made several hundred dollars in the first month! I realised I had literally lost thousands of dollars over that year from not testing and analyzing the advertising methods.
The DotNetNuke banners module allows you to rotate between ads that use the various payment methods, so you can easily setup and analyse the conversion rate of several advertising methods at once and avoid the mistakes I made.
As a starting point I would suggest that you try each of the payment methods and analyze which ones provide you with the most income for your website.
Note: I have had successes with Pay-Per-Sale; you just need to ensure that the advertisements are very close to your website market niche and that the visitors to your website are willing to buy products.
Advertisement Methods
You have several options available for advertising within your DotNetNuke portal. They can be split into two groups, image based advertisements and text based advertisements.
The DotNetNuke Banners module advantage
The DotNetNuke banners module can display a combination of these different advertisement methods at the same time and rotate between the various advertisements.
For instance if you have an advertising space available on the right hand column of your pages, you could display within the same column, a text ad, a Google Adsense ad and another text ad. With the next refresh of the page this could switch to a skyscraper ad and two text ads. You can learn these advanced configuration techniques in this tutorial.
This has the advantage that the position of the advertisements and the type of advertisement is always changing, which should help to grab the attention of a visitor and avoid 'ad blindness.'
Email Newsletter advertisements
If you send a regular newsletter, you could include advertisements within the email. But, make sure that your recipients have opted-in to the email as they could become very annoyed if you send emails trying to sell them products. Here you can learn about the Email Newsletters module.
Programmes
We have covered the various payment methods and advertising methods, the next step is to find advertisers for your website and this is actually not as hard as it may sound.
DIY - Do It Yourself
Probably the first advertising method to appear on the internet and the hardest if you are just launching your website. This involves approaching companies that provide products or services that complement the niche of your website. In most cases you will need to provide a PDF document outlining the cost structure for advertising, the niche market, and the number of visitors / page views you receive on average each month for your website.
Make sure you include a ‘Terms of Use’ document in-case any problems occur with the advertiser and also create a page within your website informing visitors that you offer advertising. (You could combine this with a banner advertisement that states ‘Would you like to advertise here?’).
If your website is already established with a high amount of traffic, you may find that advertisers contact you to advertise on your website.
Payment method: Pay-Per-Impression and Pay-Per-Month are typical for this type of advertising.
Advertising method: All banner types, text advertisements and even email newsletter advertisements are suitable for the DIY approach. You can charge varying amounts for the banner types and position of the banner on the page.
Advertisements for content
This is one of the popular and easiest methods for creating an income from your website. It also requires no maintenance as everything is automated.
The most popular programme for this is Google Adsense. All you have to do is sign up to Google Adsense and add the short Javascript code to your DotNetNuke Banners module.
This will display advertisements directly related to the content of your page meaning you have very specific advertisements related to the niche topic of your website.
Payment method: Pay-Per-Click
Advertising method: Text ads are mainly used, but banner image ads can also be displayed. You have the option for configuring the layout of the text ads into various banner sizes.
I would recommend you view An Introduction to Google Adsense followed by this video tutorial, which walks you through how to incorporate Adsense with DotNetNuke. This is recommended over just using the Banners module for displaying Google Ads to increase your click-through-rate and profits.
Here is a selection of programmes that are worth experimenting with:
BidVertiser
Yahoo Network
Affiliate advertising
Here you operate as an affiliate to another company. In most cases you register with the company as an affiliate through their website. Some affiliate programmes require that you have a website and sometimes a minimum amount of traffic. The company will decide whether or not to approve or reject your application as an affiliate; generally this is based on the content of your website. Once approved, you will have access to the affiliates section of their website which will provide you with:
Your affiliate id – Place this id in the advertisement URL link. This id is used to track the click-throughs from your website.
Advertisements – Banner ads, Text ads, Email content etc. If it is a good affiliate programme they should supply you with a large selection of advertising content to choose from. You can place these advertisements in the DotNetNuke Banners module along with your affiliate link.
Tracking Reports and Stats – A good affiliate programme will allow you to view the number of click-throughs / conversions / sales / leads that you have made along with the amount of money you have earned.
Extras – Support, tips, help, forum, pricing structure benefits for users that generate a high number of sales etc. All of these help to provide a good affiliate programme.
Payment method: Usually Cost-Per-Sale and Cost-Per-Lead, some programmes will provide Cost-Per-Click.
Advertising method: All methods can be used, image, text and email advertisements. You can also incorporate links to affiliate programmes directly within the content of your website. For instance, if you are writing a book review, you could include an affiliate link to amazon.com for the visitor of your website to buy the book.
Use Visual Web Developer Express (VWD) with DotNetNuke!
- Not possible you say! DotNetNuke uses a very complex n-tier framework which will not work with Visual Web Developer Express(VWD). You're right, but you don't need it to. That's the point of DotNetNuke. Think of DotNetNuke as a souped-up Windows SharePoint Services (WSS). With the SmartDNNModule you can use any .net language VB.Net, C#.Net, C++.Net, J# .Net user control, no special hooks or programming just need the SmartDNNModule.
Not possible you say! DotNetNuke uses a very complex n-tier framework which will not work with Visual Web Developer Express(VWD). You're right, but you don't need it to. That's the point of DotNetNuke. Think of DotNetNuke as a souped-up Windows SharePoint Services (WSS). With the SmartDNNModule you can use any .net language VB.Net, C#.Net, C++.Net, J# .Net user control, no special hooks or programming just need the SmartDNNModule.
In this article I am going to show you how to use VWD (also same steps for VS) to build a user control and load it into a DotNetNuke website.
Programmers work smarter not harder!
Resources:
What is DotNetNuke?
Visual Web Developer Download - Free development environment available from the Microsoft Website.
Why is DotNetNuke so popular? (not my site just found it on google)
* DNN also includes Windows,forms,or ldap authentication
* Advanced Security/roles/membership framework
* Skinning….thousands ready to buy CHEAP from snowcovered.com
* DNN 4 Supports ASP.Net 1.1 and 2.0 usercontrols
* A huge community of developers and experts
What is SmartDNNModule?
* It is a user control wrapper that is used to create DNN modules from any user control.
Article:
Basic assumption; that you know how to use Visual Web Developer Express or Visual Studio.
Step1. Create a user control.
* In Visual Web Developer Express create a new website
* File >>New File>>Web User Control (see image)
* Click add
Step 2.
Add controls and or any programming to your user control:
Step 3.
Create your “UserControls” folder in your dotnetnuke root folder hint your UserControls folder should be at the same level as the bin folder:
Step 4.
Put the .ascx and .ascx.resx files in the usercontrols folder (in ASP.NET 2.0 just the .ascx):
Step 5.
Put the .dll into the bin folder (Visual Studio only – VWD is inline code skip this step)
Step 6.
Upload SmartDNNModule.zip into your DNN portal and onto a page then type in the name of your usercontrol(s) – remember in DNN you can have a view and edit controls or just a view. In this sample we just have a view control.
Click Create Module: and wait for the page to finish loading then click on the page link to refresh the page:
That’s it! You can create any user control with any .Net compliant language and load it into a DNN portal installation.
SOURCE:http://www.wwwcoder.com/main/parentid/224/site/6108/68/default.aspx
DotNetNuke outstanding issue stats for the 4.6.0 release
My name is Alex Shirley (aka NukeAlexS) and if you've logged any issues this year in our bug tracker software Gemini, then the chances that I would have been your first point of contact. Right now you are my first point of contact because this is my first blog on this site. Anyway, it's my primary job when you log your issue in Gemini to validate it, decide where best it should be directed at, and how important it is. Once it reaches the core team they re-review what I did (often I get it wrong), and then they attempt the real work of getting the issue resolved.
Back in 2006 I looked at DNN and I felt that whilst it was a great application and fit for purpose (otherwise I wouldn't be using it), there were a large number of outstanding issues that I perceived were not being looked at. I just could not understand why really obvious issues were not being dealt with at all. In the end I posted a strong complaint in the forums, and rather the receive a message of complete indifference, or somebody telling me to stop whinging, I was asked by Shawn Mehaffie to join the QA team and help sort the problem out. I was rather taken aback to be honest, flattered, and in the end I just had to accept.
Moving on... it has been mine and the QA teams priority clean up the outstanding issues in the Gemini core and public projects, so the rest of the core team can do it's job efficiently, it has been a tall order, and right now I think we have a reasonable (but not perfect) picture of what is going on, so it's time to report in.
So it's my pleasure to publish some Dotnetnuke outstanding issue stats for the 4.6.0 release, and I hope this plays a part in making our open source framework more transparent to all of the DNN community. Of course these stats are always available on http://support.dotnetnuke.com, it's just that it's been very much hidden. I will be showing you how to monitor the situation yourself in realtime in a future blog entry, but right now here it is for your consumption:
Outstanding issues in DNN Core Framework 4.6.0 (at launch)
Show Stopper
Major
Minor
Trivial
Total
PDF Report
Bugs
1
73
104
34
212
Tasks
0
8
34
26
68
Enhancements
1
100
261
199
561
New Features
0
21
55
27
103
Total
2
202
454
286
944
Click Here
Note that in order to give you a more realistic picture, issues set as require more info are not included in the above statistics. There are 24 require more info issues at present. Also note this is just statistics for the core framework application, sub-project stats are not included .
The PDF report contains detail on the actual issues involved.
As always we aim to get the number of issues down over the course of the next few releases, especially the bugs. Remember though that more often then not, as soon as one issue is fixed then another one is logged - the project never remains static! So if you are an ASP.NET developer perhaps you can help us by submitting code that will help put to bed our outstanding issues (more about how to do this will be in a future blog, but in a nutshell all you need to do is search for an issue in gemini and leave a comment that includes your code).
Please also realise that these are just figures, and in reality we don't actually know the full picture until the issue is resolved. So if you really want to get an idea of just how stable Dotnetnuke is, use it! Remember this is a heavyweight open source framework application, designed to be flexible, that is used by a heck of a lot of people around the world.
Finally I'd like to sign off by saying that 4.6.0 is just one heck of a release, I know people have worked really hard on this one, and our main body of core team members have been extremely active. They all deserve our thanks, and for me it's the best release yet.. so thanks team!
Monday, February 28, 2011
LINQ Tutorial with Dot Net Framework 3.0 and 3.5
It has become apparent that the next big challenge in programming technology is to cut the complexity of accessing and integrating information that is not natively defined using OO technology. The two most common sources of non-OO information are relational databases and XML.
The major advantage of Microsoft’s LINQ Project is the general approach they have taken because they have integrated a query language irrespective of any specific part.Language Integrated Query can be used with XML,Database or anything which is capable of returning IENUMERABLE.
Here is a small tutorial that can explaining. This is specially for my readers who love to do to programming.
This is a snippet which I found in the document itself which can express the power of LINQ and make programmers of dot net really smile.
using System; using System.Query;
using System.Collections.Generic;
class app {
static void Main() {
string[] names = { “Burke”, “Connor”, “Frank”,“Everett”, “Albert”, “George”,”Harris”, “David” };
IEnumerable expr = from s in names
where ( s.Length == 5 orderby s )
select s.ToUpper();
foreach (string item in expr)
Console.WriteLine(item);
}
}
How Linq works with XML ?
The extensibility of the query architecture is used in the LINQ project itself to give implementations that work over both XML and SQL data.
Xpath and Xquery which is used heavily is in the host programming language. Here is again a code snippet for showing how easy it is to work with LINQX(yes that’s what its called for XML’s)
The Standard way is done as follows:
XmlDocument doc = new XmlDocument();
XmlElement name = doc.CreateElement(“name”);
name.InnerText = “Patrick Hines”;
XmlElement phone1 = doc.CreateElement(“phone”);
phone1.SetAttribute(“type”, “home”);
XmlElement phone2 = doc.CreateElement(“phone”);
phone2.SetAttribute(“type”, “work”);
XmlElement street1 = doc.CreateElement(“street1″);
XmlElement city = doc.CreateElement(“city”);
city.InnerText = “Mercer Island”;
XmlElement state = doc.CreateElement(“state”);
state.InnerText = “WA”;
XmlElement postal = doc.CreateElement(“postal”);
postal.InnerText = “68042″;
XmlElement address = doc.CreateElement(“address”);
address.AppendChild(street1);
address.AppendChild(city);
address.AppendChild(state);
address.AppendChild(postal);
XmlElement contact = doc.CreateElement(“contact”);
contact.AppendChild(name);
contact.AppendChild(phone1);
contact.AppendChild(phone2);
contact.AppendChild(address);
XmlElement contacts = doc.CreateElement(“contacts”);
contacts.AppendChild(contact);
doc.AppendChild(contacts);
If we see it little closer the above code , This style of coding provides few clues to the structure of the XML tree. but with LINQX it becomes more of what they as functional construct.Here is what how u code the same with LINQX….
XElement contacts = new XElement
(“contacts”,new XElement(“contact”,
new XElement(“name”, “Patrick Hines”),
new XElement(“phone”, “206-555-0144″,
new XAttribute(“type”, “home”))
,new XElement(“phone”, “425-555-0145″,new XAttribute(“type”, “work”)),
new XElement(“address”,new XElement(“street1″, “123 Main t”),
new XElement(“city”, “Mercer Island”),
new XElement(“state”, “WA”),new XElement(“postal”,”6843″)
This is so simple no hassles at all.
How LINQ works with database
Yup its done By Microsoft again under LINQD(thats LINQ for database). The query operators over relational data (DLinq) build on the integration of SQL-based schema definitions into the CLR type system.
This integration provides strong typing over relational data while retaining the expressive power of the relational model and the performance of query evaluation directly in the underlying store.
What we kneed to know is the structure of database table we want to deal with it and create a class exactly having private variables as columns of the underlying table say may be like save that easy.Thus in simple way we create an object of the row of that table in memory and do operation on that and ask somebody to save it.Moreover we can ask for a collection of those rows fo get more than one record and do a query on it..isnt that great no hassles of database sql.
1. Create an entity class with mapping to database table like this:-
[Table(Name="Customers")]
public class Customer
{
[Column (Id=true)]
public string CustomerID;
private string _City;
[Column(Storage = "_City")]
public string City
{
get { return this._City; }
set { this._City = value; }}}
2.Create a Data context to load from database
static void Main(string[] args){
// Use a standard connection string
DataContext db = new DataContext(
@”C:Program FilesLINQ PreviewDatanorthwnd.mdf”);
// Get a typed table to run queries
Table Customers = db.GetTable();
3.Query what you get….
// Attach the log showing generated SQL to console
// This is only for debugging / understanding the working of DLinq
db.Log = Console.Out;
// Query for customers in London
var custs =
from c in Customers
where c.City == “London”
select c;
}
Thats how it works with database….easy isn’t it…This Technology will come with DotNet Framework 3.0 and with C#3.0 and VB 9. I havent covered every thing but just a quick glance which can get grasping things faster. If you want to read more on it see the Microsoft’s LINQ Project
SOURCE:http://www.technospot.net/blogs/linq-tutorial-with-dot-net-framework-30/
Namespace in Dot Net Framework
System: All the basic types used by every application.
System.Collections: Managing collections of objects. Includes the popular collection types such as Stacks, Queues, Hashtables, and so on.
System.Diagnostics: Instrumenting and debugging your application.
System.Drawing: Manipulating 2D graphics. Typically used for Windows Forms applications and for creating images that are to appear in a web form.
System.EnterpriseServices: Managing transactions, queued components, object pooling, just-in-time activation, security, and other features to make the use of managed code more efficient on the server.
System.Globalization: National Language Support (NLS), such as string compares, formatting,and calendars.
System.IO: Doing stream I/O, walking directories and files.
System.Management: Managing other computers in the enterprise via WMI.
System.Net: Network communications.
System.Reflection: Inspecting metadata and late binding to types and their members.
System.Resources : Manipulating external data resources.
System.Runtime.InteropServices: Enabling managed code to access unmanaged OS platform facilities, such as COM components and functions in Win32 DLLs.
System.Runtime.Remoting: Accessing types remotely.
System.Runtime.Serialization: Enabling instances of objects to be persisted and regenerated from a stream.
System.Security : Protecting data and resources.
System.Text: Working with text in different encodings, like ASCII or Unicode.
System.Threading : Performing asynchronous operations and synchronizing access to resources.
System.Xml : Processing XML schemas and data.
System.Web.Services : Building web services.
System.Web.UI : Building web forms.
System.Windows.Forms: Building Windows GUI applications.
System.ServiceProcess : Building a Windows service controllable by the Service Control Manager.
http://www.dotnetspider.com/resources/30357-Namespace-Dot-Net-Framework.aspx
Private and Share Assembly
Introduction
An assembly is a compiled code library in .NET Framework. It is a logical unit of code.
Types of Assemblies
Assemblies are of two types.
- Private Assemblies
- Shared Assemblies
Private Assemblies
Assemblies which are used by single application are called "Private Assemblies". In this case, the bin\Debug\*.dll gets copied in the folder, in which the client application is present.
Let me cite an example here.
Start->All Programs->MS VS 2008->MS VS 2008->File->New->Project->ClassLibrary
I have named it as HappyNewYear. The code follows here:
Now it is the time to compile. So click at Build->Build Solution.
With this, HappyNewYear.dll is created at C:\HappyNewYear\HappyNewYear\bin\Debug
We have to use our .dll file in new ConsoleApplication. So create a new ConsoleApplication. It is named as UseOfDll.
Right Click on Solution Explorer->Add Reference->
With this Add Reference Dialog box open. From here, we have to browse our respective .dll file and press OK button.
Now, Solution Explorer shows, that .dll file is being added under References. We have used the HappyNewYear namespace.
Let me run the program and get the output.
Here using Private Assembly, .dll gets copied in the client application folder.
Shared Assemblies
Shared Assemblies are kept in Global Assembly Cache. Client application using Shared Assemblies need not have its own copy of dll. Shared Assemblies are present in C:\WINDOWS\assembly folder.
Steps to create Shared Assembly:
1. Create a .dll file. (Here i am using my existing HappyNewYear.dll)
2. Now let me create unique assembly name using SN utility(Shared Name utility).
The syntax for it is: sn -k filename.snk
Here sn stands for strong name, -k stands for key and key is stored in filename.snk .
Key pair is created now. The following figure shows the strong name key pair is created.
3. Sign the .dll with the private key by modifying AssemblyInfo file.
AssemblyInfo.cs file is present under Properties in the Solution Explorer. Here i have to give the path of the HappyNewYear.snk file.
[assembly: AssemblyKeyFile("C:\\HappyNewYear\\HappyNewYear\\HappyNewYear.snk")]
4. Compile the dll again to get the assembly signed.
5. And at last, place the dll in Global Assembly Cache(GAC). For that we have a gacutil.exe tool. The syntax is:
gacutil /i assemblypath
/i option installs an assembly into the Global Assembly Cache.
Now let's have a look on our Shared Assembly named "HappyNewYear" present in C:\Windows\Assembly folder.
Let me use this Shared Assembly in one application.
Here no copy of dll is created within the Debug folder of the application.
SOURCE:http://www.dotnetfunda.com/articles/article1117-private-and-share-assembly-.aspx
Dot Net Framework – A Comfort for Asp Net Application Development
Computer started changing the world just after it got into use. Today computer industry cannot be defined using words due to its vast use in large range of field. Every component is important either its hardware or software. Software development is more dynamic and growing field with great prospect in future. Microsoft is largest software company in the world. Microsoft has delivered large range of products in the market from Operating System for desktop to mobile, software for desktop to large servers and many more. Microsoft is continually working with dedicated and highly professional developers to develop efficient and cross platform product both for user and developer. Dot net application development is one such cross platform framework and asp.net application is vastly in use all around the world for web application development.
Platform independent products are the main focused area for Microsoft to compete in this competitive environment. .NET from Microsoft is one such environment which gives programmer piece of mind about the compatibility issues either it is related to hardware or software. .NET environment is based on Common Language Runtime (CLR). In reality this is a collection of various technology and its development tools. Basically in past it was used for web based development. But in present .NET framework is use for large variety of application development.
Large collection of library in .NET provides great flexibility to implement his or her imagination with any programming language. It gives you an option to develop either non-GUI or GUI program very easily. Using asp.net programming web based application can also be developed which use XML base services.
Many companies in India are involved in the development of asp.net applications based projects. ASP.NET projects from all around the globe are outsourced to Indian company. Mainly Indian company charges their client on the per hour basis or project specification basis. Some time client hires complete team in India and makes payment on the monthly basis. These types of projects are of high costing and long term running projects.
Rapidsoft Technologies is one of the well recognized companies in India for the dot net application development framework. It has got well experienced team for asp.net application development. Rapidsoft's got great record of timely completion of projects according to the scope of work. It is consistently maintaining international quality of standard at competitive price.
http://www.articlesbase.com/programming-articles/dot-net-framework-a-comfort-for-asp-net-application-development-3977140.html
The Advantages of the .NET Framework
The IT department manager of every company has a dream -- an enterprise that performs all business transactions with partners exceptionally over the Internet, with no headaches about the business processes. For this to happen, the processes must be well designed, stable, and easily customized and controlled both from the local network and from any computer in the Internet. All company's employees should have general access to work information, Email and personal documents no matter if they use mobile phone, Pocket PC, Notebook or high-end workstation.
Nowadays, in an age of rapid development of E-commerce, the existing tools for creating digital marketplaces do not always handle the business needs. By developing the new means for this field a major breakthrough belongs to XML Web services. For a long period of time there were used by program engineering services provided by external software. When it became clear that it is easier to once create a universal information storage facility and to integrate it into different programs than invent each time a new one, there appeared first Database Management Systems. Next step was the creation of messaging and collaboration systems, e.g. Lotus Notes and Exchange, which simultaneously served as development platforms. Then came into use the products providing messages delivery (Message Oriented Middleware), such as IBM MQSeries and MSMQ. They allowed to organize message exchange in distributed system with manifold (and often unreliable) communication links. Their difference from mail servers lied in the fact that they were oriented on information exchange not between people but various parts of program systems. Finally, one of the last tendencies became Application Servers and Enterprise Application Integration Servers. First ones allow to create scalable solutions of simple software components giving them a ready means of supporting distributed transactions, controlling access to total resources (particularly, connection with database) etc. Enterprise Application Integration Server acts as a glue, being the intermediate among existing program systems and helping them to process data and exchange references. Web services enhance and extend the value of these existing technologies. Theh alow an object's methods to be called over the Internet via HTTP. As a result, programs written in any language, and running on any operating system, can access .NET applications implemented as web services. By introducing a common, well-known standards of interaction between software, Web service technology allows for the creation intercorporate information systems without protracted coordination of proprietary interfaces. In addition, the use of HTTP as the transport mechanism will allow remote calls to these services to pass through corporate firewalls without compromising security. Web services existed before .NET was introduced, but the .NET framework makes creation of web services far easier than they otherwise would be.
Breaking down the distinctions between the Internet, standalone applications, and computing devices of every kind, Web services provide businesses with the opportunity to collaborate and to offer an unprecedented range of integrated and customized solutions - solutions that enable their customers to act on information any time, any place and on any device.
DotNet technology offers other far-reaching benefits for IT professionals. It enables programmers to develop powerful information systems using all capabilities of modern computers and networks without implementing helper functions implementation -- almost all of these functions are subsumed into the platform). It allows to concentrate only on the business logic of the product. Thus developers will be able to quickly create high-quality (and easy!) programs with a multitude of Internet integrated capabilities while reducing costs.
Built on XML Web service standards Microsoft .NET-connected software enables both new and existing applications to connect with software and services across platforms, applications, and programming languages. DotNet is already shifting the focus from individual Web sites or devices connected to the Internet to constellations of computers, devices, and services that work together to deliver more comprehensive programs.
http://www.freevbcode.com/ShowCode.asp?ID=5302
Dot Net Framework - A Comfort for Asp Net Application Development
Platform independent products are the main focused area for Microsoft to compete in this competitive environment..NET from Microsoft is one such environment which gives programmer piece of mind about the compatibility issues either it is related to hardware or software..NET environment is based on Common Language Runtime (CLR). In reality this is a collection of various technology and its development tools. Basically in past it was used for web based development. But in present.NET framework is use for large variety of application development.
Large collection of library in.NET provides great flexibility to implement his or her imagination with any programming language. It gives you an option to develop either non-GUI or GUI program very easily. Using asp.net programming web based application can also be developed which use XML base services.
Many companies in India are involved in the development of asp.net applications based projects. ASP.NET projects from all around the globe are outsourced to Indian company. Mainly Indian company charges their client on the per hour basis or project specification basis. Some time client hires complete team in India and makes payment on the monthly basis. These types of projects are of high costing and long term running projects.
Rapidsoft Technologies is one of the well recognized companies in India for the dot net application development framework. It has got well experienced team for asp.net application development. Rapidsoft's got great record of timely completion of projects according to the scope of work. It is consistently maintaining international quality of standard at competitive price.
source:http://ezinearticles.com/?Dot-Net-Framework---A-Comfort-for-Asp-Net-Application-Development&id=5663282
Sunday, February 20, 2011
.Net practice
A solution built on Microsoft .Net technologies helps you integrate web-based and client server applications, allowing businesses to collaborate seamlessly. This gives you, your customers and your business partners the ability to access and act upon information any time, any place and on any device.
Microsoft .NET can bring considerable advantages to your business technology solutions – rapid and seamless integration, fast development cycles, lower TCO, greater efficiencies and an assured ROI.
View Technology
The .NET Practice professionals at IDEATION had worked closely with the .NET platform and Visual Studio .NET from its inception and has the experience and expertise to:
* Analyze client requirements and recommend a .NET business technology solution
* Architect your .NET solutions to meet your current and future requirements
* Build world-class .NET solutions that are cost effective and offer measurable ROI
* Migrate your existing application to .NET with the least possible disruption to your business
* Integrate new functionality or extend the functionality of your existing application using .NET technologies
* Train your development team on .NET technologies and provide valuable consultancy and best practices in .NET
* Support and Maintain your Mission Critical applications
Architecture Diagram
Technical Expertise
Integrated e-Business Solutions
Application Integration Enterprise Application Integration (EAI) and Business to Business application integration (B2B) using BizTalk Server
E-Commerce & Integration Servers Microsoft Commerce Server, Microsoft Content Management Server, Microsoft Host Integration Server
Advanced Infrastructure Solutions
Communication & Collaboration Servers Windows SharePoint Services, Microsoft Exchange Server, Active Directory Service (ADS), Microsoft SharePoint Portal, Lotus Domino Server.
Technology Active Directory Service Interfaces (ADSI), XML Web Services, ASP.Net
RDBMS SQL Server 2005, SQL Server 2000, Oracle, PostgreSQL, MySQL
OS Windows XP, Windows 2000 Server family, Windows 2003 Server family, Linux
Business Intelligence Solutions
Data Warehouse Data Modeling, Reporting Solutions, Data Migration and DTS
Database Servers SQL Server 2000, SQL Server 2005
Deployment Scripting InstallShield Scripting, Windows Installer Scripting
Standard Web / Windows Applications
Technology ASP.Net, ASP
Languages VB.Net, C#, VB6, VC++6, Visual Basic for Applications
Component Frameworks .Net, Mono (Linux version of .Net framework), COM/DCOM, ActiveX
Database Servers SQL Server 2005,SQL Server 2000, Oracle, PostgreSQL, MySQL
Deployment Scripting InstallShield Scripting, Windows Installer Scripting

