<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Off Shore Development India &#187; C# Development</title>
	<atom:link href="http://www.offshoresoftwaredevelopmentindia.com/blog/category/net-development/c-development/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.offshoresoftwaredevelopmentindia.com/blog</link>
	<description>Offshore Software Development India</description>
	<lastBuildDate>Wed, 25 Jan 2012 13:14:36 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Microsoft SharePoint Server Mini Calendar Webpart</title>
		<link>http://www.offshoresoftwaredevelopmentindia.com/blog/2009/08/01/microsoft-sharepoint-server-mini-calendar-webpart/</link>
		<comments>http://www.offshoresoftwaredevelopmentindia.com/blog/2009/08/01/microsoft-sharepoint-server-mini-calendar-webpart/#comments</comments>
		<pubDate>Sat, 01 Aug 2009 14:06:22 +0000</pubDate>
		<dc:creator>rupen</dc:creator>
				<category><![CDATA[.Net Development]]></category>
		<category><![CDATA[ASP.Net Frameworks]]></category>
		<category><![CDATA[C# Development]]></category>
		<category><![CDATA[Microsoft SharePoint Server]]></category>
		<category><![CDATA[Mini Calender Webpart]]></category>
		<category><![CDATA[Mini Calender(MOSS)]]></category>
		<category><![CDATA[MOSS]]></category>
		<category><![CDATA[MOSS 2007 development]]></category>
		<category><![CDATA[MOSS 2007 Webpart]]></category>
		<category><![CDATA[Moss Webpart]]></category>
		<category><![CDATA[SharePint webpart]]></category>
		<category><![CDATA[SharePoint code]]></category>
		<category><![CDATA[Sharepoint Configuration]]></category>
		<category><![CDATA[sharepoint customization]]></category>
		<category><![CDATA[SharePoint Extension]]></category>
		<category><![CDATA[Webpart Customization]]></category>
		<category><![CDATA[Webpart development]]></category>

		<guid isPermaLink="false">http://www.offshoresoftwaredevelopmentindia.com/blog/?p=62</guid>
		<description><![CDATA[Dot Net team at OffshoreSoftwareDevelopmentIndia.com has developed Microsoft SharePoint Server Mini Calendar Webpart. This MOSS 2007 Mini Calendar Webpart allows administrator to select any of the list to configure with the calendar. Calendar displays all the tasks, events in the calendar. Upon selecting the list, all the events/tasks will show in Mini calendar by highlighted [...]]]></description>
			<content:encoded><![CDATA[<p>Dot Net team at OffshoreSoftwareDevelopmentIndia.com has developed Microsoft SharePoint Server Mini Calendar Webpart. This MOSS 2007 Mini Calendar Webpart allows administrator to select any of the list to configure with the calendar. Calendar displays all the tasks, events in the calendar. Upon selecting the list, all the events/tasks will show in Mini calendar by highlighted background to the date. On mouse hover to that date, a popup will appear with all the events/tasks for that day. On clicking that link of the events/tasks, the page will redirect to that task/event page.</p>
<p>It is easy to install. Easy to configure. With rich functionalities.</p>
<p><strong>Working with MOSS  Mini Calendar:</strong></p>
<p>There is often need to share information about important dates, appointments and meetings. The MOSS  Mini Calendar provides all information.</p>
<p>When you import MOSS  Mini Calendar on site it looks like as follows:</p>
<p><a href="http://www.offshoresoftwaredevelopmentindia.com/blog/wp-content/uploads/2009/08/mini_calender_webpart.jpg"><img class="alignnone size-medium wp-image-239" title="Mini Calendet for MOSs" src="http://www.offshoresoftwaredevelopmentindia.com/blog/wp-content/uploads/2009/08/mini_calender_webpart-300x65.jpg" alt="Mini Calendet for MOSs" width="300" height="65" /></a></p>
<p>(Fig. 1)</p>
<p>When click on Modify Shared Web Part (right top corner) of Fig. 1, it looks like as follows:</p>
<p><a rel="attachment wp-att-253" href="http://www.offshoresoftwaredevelopmentindia.com/blog/2009/08/01/microsoft-sharepoint-server-mini-calendar-webpart/mini_calender_webpart_properties_88/"><img title="Mini Calendet for MOSs" src="http://www.offshoresoftwaredevelopmentindia.com/blog/wp-content/uploads/2009/08/mini_calender_webpart_properties_88-194x300.jpg" alt="Mini Calendet for MOSs" width="194" height="300" /></a></p>
<p>( Fig. 2 )</p>
<p>What you see on right side of Fig. 2 are custom properties of the mini calendar.</p>
<ol>
<li><strong> About us:</strong> When click on this, it displays company details in popup window.</li>
<li><strong> Select a list:</strong> It contains variety of contents like documents, form and templates,   master page gallery, web part gallery etc.</li>
<li><strong> Select a display column:</strong> It contains different columns like name, title, created by, modify by related to selected list item. What you want to display on calendar please select from this list.</li>
<li><strong> Select a view to filter calendar items:</strong> select which items to display related to calendar item.</li>
<li><strong> Select a date column to base the calendar on:</strong> Means which items to display related to date column (e.g. created, modify).</li>
<li><strong> Select a Background Color:</strong> It sets calendar date cells background color.</li>
<li><strong> Select a Body Text Color:</strong> It sets calendar date cells text color.</li>
<li><strong> Select a Border Color:</strong> It sets calendar border color. It also sets calendar’s title back color.</li>
<li><strong> Select a Border Font Color:</strong> It sets calendar’s title fore color.</li>
<li><strong>Select a Highlight Color:</strong> It sets color on that cells where there are some events display in popup window by moving mouse over on cell as follow-</li>
<p><a href="http://www.offshoresoftwaredevelopmentindia.com/blog/wp-content/uploads/2009/08/mini_calender_webpart_messages.jpg"><img class="alignnone size-medium wp-image-240" title="Mini Calendet for MOSs" src="http://www.offshoresoftwaredevelopmentindia.com/blog/wp-content/uploads/2009/08/mini_calender_webpart_messages-300x161.jpg" alt="Mini Calendet for MOSs" width="300" height="161" /></a></p>
<li style="text-align: left;"> Select a Highlight Font Color:</li>
<p><a href="http://www.offshoresoftwaredevelopmentindia.com/blog/wp-content/uploads/2009/08/mini_calender_webpart_messages_1.jpg"><img class="alignnone size-medium wp-image-241" title="Mini Calendet for MOSs" src="http://www.offshoresoftwaredevelopmentindia.com/blog/wp-content/uploads/2009/08/mini_calender_webpart_messages_1-300x151.jpg" alt="Mini Calendet for MOSs" width="300" height="151" /></a></p>
<li style="text-align: left;"> Select a Day Header Background Color: It sets the calendar’s day header background color.</li>
<p><a href="http://www.offshoresoftwaredevelopmentindia.com/blog/wp-content/uploads/2009/08/mini_calender_webpart_messages_2.jpg"><img class="alignnone size-medium wp-image-242" title="Mini Calendet for MOSs" src="http://www.offshoresoftwaredevelopmentindia.com/blog/wp-content/uploads/2009/08/mini_calender_webpart_messages_2-300x126.jpg" alt="Mini Calendet for MOSs" width="300" height="126" /></a></p>
<li style="text-align: left;"> Select a Day Header Fore Color: It sets the calendar’s day header font color.</li>
<p><a href="http://www.offshoresoftwaredevelopmentindia.com/blog/wp-content/uploads/2009/08/mini_calender_webpart_messages_3.jpg"><img class="alignnone size-medium wp-image-243" title="Mini Calendet for MOSs" src="http://www.offshoresoftwaredevelopmentindia.com/blog/wp-content/uploads/2009/08/mini_calender_webpart_messages_3-300x129.jpg" alt="Mini Calendet for MOSs" width="300" height="129" /></a></p>
<p>By setting all above properties, click on OK button it display as Fig.1. Now When you take mouse over the highlight cell it display popup window as follow –</p>
<p><a href="http://www.offshoresoftwaredevelopmentindia.com/blog/wp-content/uploads/2009/08/mini_calender_webpart_messages_4.jpg"><img class="alignnone size-medium wp-image-244" title="Mini Calendet for MOSs" src="http://www.offshoresoftwaredevelopmentindia.com/blog/wp-content/uploads/2009/08/mini_calender_webpart_messages_4-300x222.jpg" alt="Mini Calendet for MOSs" width="300" height="222" /></a></p>
<p>When click on any items it goes to that particular page.</p>
<p><strong>Calender Webpart Configuration:</strong> Webpart Properties</p>
<p><a rel="attachment wp-att-245" href="http://www.offshoresoftwaredevelopmentindia.com/blog/2009/08/01/microsoft-sharepoint-server-mini-calendar-webpart/mini_calender_webpart_propertiess/"><img title="Mini Calendet for MOSs" src="http://www.offshoresoftwaredevelopmentindia.com/blog/wp-content/uploads/2009/08/mini_calender_webpart_propertiess-178x300.jpg" alt="Mini Calendet for MOSs" width="178" height="300" /></a></p>
<p><a rel="attachment wp-att-246" href="http://www.offshoresoftwaredevelopmentindia.com/blog/2009/08/01/microsoft-sharepoint-server-mini-calendar-webpart/mini_calender_webpart_properties_11/"><img title="Mini Calendet for MOSs" src="http://www.offshoresoftwaredevelopmentindia.com/blog/wp-content/uploads/2009/08/mini_calender_webpart_properties_11-170x300.jpg" alt="Mini Calendet for MOSs" width="170" height="300" /></a></p>
<p><a rel="attachment wp-att-247" href="http://www.offshoresoftwaredevelopmentindia.com/blog/2009/08/01/microsoft-sharepoint-server-mini-calendar-webpart/mini_calender_webpart_properties_22/"><img title="Mini Calendet for MOSs" src="http://www.offshoresoftwaredevelopmentindia.com/blog/wp-content/uploads/2009/08/mini_calender_webpart_properties_22-176x300.jpg" alt="Mini Calendet for MOSs" width="176" height="300" /></a></p>
<p><a rel="attachment wp-att-248" href="http://www.offshoresoftwaredevelopmentindia.com/blog/2009/08/01/microsoft-sharepoint-server-mini-calendar-webpart/mini_calender_webpart_properties_33/"><img title="Mini Calendet for MOSs" src="http://www.offshoresoftwaredevelopmentindia.com/blog/wp-content/uploads/2009/08/mini_calender_webpart_properties_33-177x300.jpg" alt="Mini Calendet for MOSs" width="177" height="300" /></a></p>
<p><a rel="attachment wp-att-249" href="http://www.offshoresoftwaredevelopmentindia.com/blog/2009/08/01/microsoft-sharepoint-server-mini-calendar-webpart/mini_calender_webpart_properties_44/"><img title="Mini Calendet for MOSs" src="http://www.offshoresoftwaredevelopmentindia.com/blog/wp-content/uploads/2009/08/mini_calender_webpart_properties_44-196x300.jpg" alt="Mini Calendet for MOSs" width="196" height="300" /></a></p>
<p><a rel="attachment wp-att-252" href="http://www.offshoresoftwaredevelopmentindia.com/blog/2009/08/01/microsoft-sharepoint-server-mini-calendar-webpart/mini_calender_webpart_properties_77/"><img title="Mini Calendet for MOSs" src="http://www.offshoresoftwaredevelopmentindia.com/blog/wp-content/uploads/2009/08/mini_calender_webpart_properties_77-197x300.jpg" alt="Mini Calendet for MOSs" width="197" height="300" /></a></p>
<p><strong>Prerequisites:</strong></p>
<ol>
<li>We need to make sure that timer job is running from:</li>
<p>Administrative Tools &gt;&gt; Services &gt;&gt; Windows SharePoint Services Timer</p>
<p><a href="http://www.offshoresoftwaredevelopmentindia.com/blog/wp-content/uploads/2009/08/mini_calender_services_1.jpg"><img class="alignnone size-medium wp-image-236" title="Mini Calendet for MOSs" src="http://www.offshoresoftwaredevelopmentindia.com/blog/wp-content/uploads/2009/08/mini_calender_services_1-300x225.jpg" alt="Mini Calendet for MOSs" width="300" height="225" /></a></p>
<p>If service is not started please start it.</p>
<li> Check whether solution is deployed or not.</li>
<p>From &#8211; Central administration &gt;&gt; Operations &gt;&gt; Solutions</p>
<p><a href="http://www.offshoresoftwaredevelopmentindia.com/blog/wp-content/uploads/2009/08/mini_calender_centraladmin.jpg"><img class="alignnone size-medium wp-image-237" title="Mini Calendet for MOSs" src="http://www.offshoresoftwaredevelopmentindia.com/blog/wp-content/uploads/2009/08/mini_calender_centraladmin-300x190.jpg" alt="Mini Calendet for MOSs" width="300" height="190" /></a></p>
<li> If it is deployed then they can go ahead and activate feature manually by going to site collection</li>
<p>Site Actions &gt;&gt; Site Settings &gt;&gt; Modify All Site Settings &gt;&gt; Site Collection Features.</p>
<p><a href="http://www.offshoresoftwaredevelopmentindia.com/blog/wp-content/uploads/2009/08/mini_calender_siteaction.jpg"><img class="alignnone size-medium wp-image-238" title="Mini Calendet for MOSs" src="http://www.offshoresoftwaredevelopmentindia.com/blog/wp-content/uploads/2009/08/mini_calender_siteaction-300x186.jpg" alt="Mini Calendet for MOSs" width="300" height="186" /></a></ol>
]]></content:encoded>
			<wfw:commentRss>http://www.offshoresoftwaredevelopmentindia.com/blog/2009/08/01/microsoft-sharepoint-server-mini-calendar-webpart/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Create Extension for Microsoft Office Accounting</title>
		<link>http://www.offshoresoftwaredevelopmentindia.com/blog/2009/08/01/create-application-extension-for-microsoft-office-accounting/</link>
		<comments>http://www.offshoresoftwaredevelopmentindia.com/blog/2009/08/01/create-application-extension-for-microsoft-office-accounting/#comments</comments>
		<pubDate>Sat, 01 Aug 2009 05:17:05 +0000</pubDate>
		<dc:creator>rupen</dc:creator>
				<category><![CDATA[.Net Development]]></category>
		<category><![CDATA[ASP.Net Frameworks]]></category>
		<category><![CDATA[C# Development]]></category>
		<category><![CDATA[Microsoft Office Accounting]]></category>
		<category><![CDATA[Create Application for MOA]]></category>
		<category><![CDATA[Custom Extension for MOA]]></category>
		<category><![CDATA[Extension development]]></category>
		<category><![CDATA[Microsoft Office Accounting Code]]></category>
		<category><![CDATA[MOA]]></category>
		<category><![CDATA[MOA create company]]></category>
		<category><![CDATA[MOA create invoice]]></category>
		<category><![CDATA[MOA customization]]></category>
		<category><![CDATA[MOA manage customers]]></category>
		<category><![CDATA[Office Accounting customization]]></category>

		<guid isPermaLink="false">http://www.offshoresoftwaredevelopmentindia.com/blog/?p=61</guid>
		<description><![CDATA[Dot Net team at OffshoreSoftwareDevelopmentIndia.com has created many Extensions for Microsoft Office Accounting. Here you will find how to create Microsoft Office Accounting extension.
Create Application Extension for Microsoft Office Accounting:
You can create your own application which can be integrated to your accounting company. You need to follow given steps for creating New Application which can [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: left;">Dot Net team at <span><span>OffshoreSoftwareDevelopmentIndia.com has created many Extensions for Microsoft Office Accounting. Here you will find how to create Microsoft Office Accounting extension.</span></span></p>
<p style="text-align: left;"><strong>Create Application Extension for Microsoft Office Accounting:</strong></p>
<p style="text-align: left;"><span><span>You can create your own application which can be integrated to your accounting company. You need to follow given steps for creating New Application which can be integrated to MOA.</span></span></p>
<p style="text-align: left;"><strong>Assumption:</strong> You might have created your company in MSOA and you have to pass company name in step &#8211; 9 at the place of &#8220;yourCompany.sbc&#8221;.</p>
<ol style="text-align: left;">
<li>Create Windows based Project.</li>
<li>You have to add references of following DLLS.
<ul>
<li><strong>ILoader:</strong> c:\WINDOWS\assembly\GAC_32\ILoader\2.0.5201.0__31bf3856ad364e35\ILoader.dll</li>
<li><strong>SBAIAPI:</strong> c:\Program Files\Microsoft Small Business\Small Business Accounting 2007\Assemblies\SBAIAPI.dll</li>
<li><strong>SBAIUI: </strong>c:\Program Files\Microsoft Small Business\Small Business Accounting 2007\Assemblies\SBAIUI.dll</li>
</ul>
</li>
<li style="text-align: left;">Now you need to Import two namespace for MOA
<ol style="text-align: left;">- using Microsoft.BusinessSolutions.SmallBusinessAccounting.UI;</ol>
<ol style="text-align: left;">-using Microsoft.BusinessSolutions.SmallBusinessAccounting;</ol>
</li>
<li style="text-align: left;"> Provide the Information related to your Loader
<ol>- const string loaderFULLNAME = &#8220;Loader, Version=2.0.5201.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35&#8243;;</ol>
</li>
<li> Provide the details related to your Assembly
<ul style="text-align: left;">
<li>const string loaderNAMESPACE = &#8220;Microsoft.BusinessSolutions.SmallBusinessAccounting.Loader.Loader&#8221;;</li>
</ul>
</li>
<li> Create object for ISmallBusinessInstance.(It is an interface so no needs to create  New Instance for this</li>
<li> Load the assembly which was initialized before.</li>
<p>Assembly assem = Assembly.Load(loaderFULLNAME);</p>
<li> Load the assembly which in your system using Loader</li>
<p>ILoader ldr = assem.CreateInstance(loaderNAMESPACE) as ILoader;</p>
<li style="text-align: left;"> Create string object and initialize with .sbc file which is stored in Your MYDocument. You can provide other path also.
<ul>
<li>string sbaFile = Environment.GetFolderPath(Environment.SpecialFolder.MyDocuments) Path.DirectorySeparatorChar + &#8220;Small Business Accounting&#8221; Path.DirectorySeparatorChar + &#8220;Companies&#8221; + Path.DirectorySeparatorChar + &#8220;yourCompany.sbc&#8221;;</li>
</ul>
</li>
<li style="text-align: left;"> Load the file in your application using loader.</li>
<p>- sbi = ldr.GetSbaObjects(sbaFile).SmallBusinessInstance as ISmallBusinessInstance</p>
<li style="text-align: left;"> Now your sbi object (instance of SmallBusinessInstance) is ready to Use.</li>
</ol>
<p style="text-align: left;"><strong>Manage customer details using SmallBusinessInstance Object</strong></p>
<p style="text-align: left;">Now it&#8217;s time to implement SmallBusinessInstance object to access the details related to Customers. [sbi is an object of SmallBusinessInstance]</p>
<p style="text-align: left;"><strong>How to view existing customers?</strong></p>
<ul style="text-align: left;">
<li style="text-align: left;"> Create object of DataTable. And initialize the Details of sbi.CustomerAccounts.DataView.Table to the object of DataTable.</li>
</ul>
<ul style="text-align: left;">
<li style="text-align: left;"> You can use this DataTable object and assign that object to DataSource of GridView or ComboBox to view the details related to Customers.</li>
</ul>
<p style="text-align: left;"><strong>How to create  New Customers?</strong></p>
<ul style="text-align: left;">
<li style="text-align: left;"> Create an object of ICustomerAccount. And assign the value of sbi.CreateCustomerAccount(); ICustomerAccount cust = sbi.CreateCustomerAccount();</li>
</ul>
<ul style="text-align: left;">
<li> Now you can access the Properties on Customer Account (e.g. Name, Active);</li>
</ul>
<ul style="text-align: left;">
<li> You cannot access the property of Address, Email and Fax directly from this object you need to create the object of ICustomerVendorAddress , ICustomerVendorEmail and ICustomerVendorFax respectively
<ul>
<li style="text-align: left;"><strong> ICustomerVendorAddress:</strong> You have to create object of ICustomerVendorAddress and initialize it. ICustomerVendorAddress address = cust.CustomerVendorAddresses.GetByType(CustomerVendorAddressType.Business); where you can find different CustomerVendorAddressType. Like (Business, Home, Postal, etc) Now you can access the properties of Address.</li>
<li style="text-align: left;"> <strong>ICustomerVendorEmail:</strong> You have to create object of ICustomerVendorAddress and initialize it. ICustomerVendorEmail emailAddress = cust.CustomerVendorEmails.GetByType(CustomerVendorEmailType.Email1); where you can find different CustomerVendorEmailType. Like (Email1, Email2, and Email3). Now you can access the properties of Email</li>
<li style="text-align: left;"> <strong>ICustomerVendorFax:</strong> You have to create object of ICustomerVendorAddress and initialize it. ICustomerVendorFax faxNumber = cust.CustomerVendorFaxes.GetByType(CustomerVendorFaxType.Business); where you can find different CustomerVendorFaxType. Like (Business, Home and Other). Now you can access the properties of Fax.</li>
</ul>
</li>
<li> Now you can save the Customer. cust.Save();</li>
</ul>
<p style="text-align: left;"><strong>Manage Payment details using SmallBusinessInstance object</strong> Now you can implement the Payment module of customer in following ways.</p>
<p style="text-align: left;"><strong>How to Create New Payment for Customers?</strong></p>
<ul style="text-align: left;">
<li>For payment of customer you have to specify for which customer you need to make payment.</li>
<li>You need to provide AccountId of customer for Payment.</li>
<li>Create ICustomerAccount object and initialize it with sbi.CustomerAccounts<br />
ICustomerAccount cust = (ICustomerAccount)sbi.CustomerAccounts.GetByPrimaryKey(AccountID);</li>
<li>Create object of ICustomerPayment and initialize it with sbi.CreateCustomerPayment()<br />
ICustomerPayment payment = sbi.CreateCustomerPayment();</li>
<li>Now assign the value of payment.Customer as cust<br />
payment.Customer = cust;</li>
<li>Now provide the details of Amount.</li>
<li style="text-align: left;">And finally save the record<br />
payment.Save();</li>
</ul>
<p style="text-align: left;">Manage Invoice details using SmallBusinessInstance object. You can manage the details of Invoice using the APIs of Microsoft Accounting.</p>
<p style="text-align: left;"><strong>How to View existing Invoice?</strong></p>
<ul style="text-align: left;">
<li style="text-align: left;"> Create object of DataTable. And initialize the Details of sbi.SalesInvoices.DataView.Table to the object of DataTable.</li>
<li style="text-align: left;"> You can use this DataTable object and assign that object to DataSource of GridView or ComboBox to view the details related to Invoice.</li>
</ul>
<p style="text-align: left;"><strong>How to create New Invoice?</strong></p>
<ul style="text-align: left;">
<li> For Invoice of customer you have to specify for which customer you need to create invoice.</li>
<li> You need to provide AccountId of customer for creating Invoice.</li>
<li> Create object of ISalesInvoice and initialize it with sbi.CreateSalesInvoice(false). ISalesInvoice invoice = sbi.CreateSalesInvoice(false);</li>
<li> Create object of IItemLine.</li>
</ul>
<p style="padding-left: 60px;">IItemLine line;</p>
<ul style="text-align: left;">
<li> Initialize the object of IItemLine with invoice.CreateSalesInvoiceLine(parameters) IItemLine line = invoice.CreateSalesInvoiceLine(DocumentLineType.ContractItemLineType) as IItemLine;</li>
<li> Now assign the value for LineItem property of IItemLine object line.LineItem = sbi.ItemAccounts.GetByPrimaryKey(ProdId) as IItemAccount;</li>
<li> Provide the Quantity and other details of IItemAccount object.</li>
<li> Finally save the details of Invoice</li>
</ul>
<p style="padding-left: 60px;">invoice.Save();</p>
]]></content:encoded>
			<wfw:commentRss>http://www.offshoresoftwaredevelopmentindia.com/blog/2009/08/01/create-application-extension-for-microsoft-office-accounting/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Beginning with 3 Tier architecture &#8211; Asp.net -C#</title>
		<link>http://www.offshoresoftwaredevelopmentindia.com/blog/2009/02/20/beginning-with-3-tier-architecture-aspnet/</link>
		<comments>http://www.offshoresoftwaredevelopmentindia.com/blog/2009/02/20/beginning-with-3-tier-architecture-aspnet/#comments</comments>
		<pubDate>Fri, 20 Feb 2009 05:50:31 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[.Net Development]]></category>
		<category><![CDATA[ASP.Net Frameworks]]></category>
		<category><![CDATA[C# Development]]></category>
		<category><![CDATA[3 Tier Application Structure]]></category>
		<category><![CDATA[ASP.Net 3 Tier Framework]]></category>
		<category><![CDATA[Asp.Net Development]]></category>
		<category><![CDATA[ASP.Net Framework]]></category>

		<guid isPermaLink="false">http://www.offshoresoftwaredevelopmentindia.com/blog/?p=31</guid>
		<description><![CDATA[By Nikhil
By default Microsoft .NET Framework provides various ways to build application. There are many ready made frameworks and many open sources frameworks available to build application for Asp.Net, C#.
Please refer following 3 Tier application framework and structure for beginners and small scale application in C#, Microsoft .NET.
Please for any further information drop us an [...]]]></description>
			<content:encoded><![CDATA[<p class="MsoNormal" style="MARGIN: 0in 0in 10pt; TEXT-INDENT: 0in; TEXT-ALIGN: left" align="left"><span style="font-size: 10pt; line-height: 115%; font-family: 'Verdana','sans-serif';">By Nikhil</span></p>
<p class="MsoNormal" style="MARGIN: 0in 0in 10pt; TEXT-INDENT: 0in; TEXT-ALIGN: left" align="left"><span style="font-size: 10pt; line-height: 115%; font-family: 'Verdana','sans-serif';">By default Microsoft .NET Framework provides various ways to build application. There are many ready made frameworks and many open sources frameworks available to build application for Asp.Net, C#.</span></p>
<p class="MsoNormal" style="MARGIN: 0in 0in 10pt; TEXT-INDENT: 0in; TEXT-ALIGN: left" align="left"><span style="font-size: 10pt; line-height: 115%; font-family: 'Verdana','sans-serif';">Please refer following 3 Tier application framework and structure for beginners and small scale application in C#, Microsoft .NET.</span></p>
<p class="MsoNormal" style="MARGIN: 0in 0in 10pt; TEXT-INDENT: 0in; TEXT-ALIGN: left" align="left"><span style="font-size: 10pt; line-height: 115%; font-family: 'Verdana','sans-serif';">Please for any further information drop us an email at,<br />
<a href="mailto:info@offshoresoftwaredevelopmentindia.com">info@offshoresoftwaredevelopmentindia.com</a></span></p>
<div style="BORDER-RIGHT: windowtext 1pt solid; PADDING-RIGHT: 4pt; BORDER-TOP: windowtext 1pt solid; PADDING-LEFT: 4pt; BACKGROUND: #dbe5f1; PADDING-BOTTOM: 1pt; BORDER-LEFT: windowtext 1pt solid; PADDING-TOP: 1pt; BORDER-BOTTOM: windowtext 1pt solid; mso-shading: #EEECE1; mso-shading-themecolor: background2; mso-pattern: solid #DBE5F1; mso-border-alt: solid windowtext .5pt; mso-element: para-border-div">
<h1 style="BACKGROUND: #dbe5f1; MARGIN: 0in 0in 8pt; TEXT-INDENT: 0in; TEXT-ALIGN: left; mso-list: none; mso-shading: #EEECE1; mso-shading-themecolor: background2; mso-pattern: solid #DBE5F1"><a name="_Toc228361948"><span style="font-size: 10pt; font-family: 'Verdana','sans-serif';"><span style="color: #1f497d;">Directory Structure</span></span></a></h1>
</div>
<p class="MsoNormal" style="MARGIN: 0in 0in 10pt"><span style="font-size: 10pt; line-height: 115%; font-family: 'Verdana','sans-serif';">This system is created with the concept of 3-Tier. We have divided the system in several folder or directories. Details related to the Folders are as follow as per the role of it in System.</span></p>
<div style="BORDER-RIGHT: windowtext 1pt solid; PADDING-RIGHT: 4pt; BORDER-TOP: windowtext 1pt solid; PADDING-LEFT: 4pt; BACKGROUND: #d9d9d9; PADDING-BOTTOM: 1pt; BORDER-LEFT: windowtext 1pt solid; PADDING-TOP: 1pt; BORDER-BOTTOM: windowtext 1pt solid; mso-shading: windowtext; mso-pattern: solid #D9D9D9; mso-border-alt: solid windowtext .5pt; mso-element: para-border-div">
<h2 style="BACKGROUND: #d9d9d9; MARGIN: 0in 0in 4pt; TEXT-INDENT: 0in; mso-list: none; mso-shading: windowtext; mso-pattern: solid #D9D9D9"><a name="_Toc228361949"><span style="font-size: 10pt; font-family: 'Verdana','sans-serif';">_layout</span></a></h2>
</div>
<p class="MsoNormal" style="MARGIN: 0in 0in 10pt"><span style="font-size: 10pt; line-height: 115%; font-family: 'Verdana','sans-serif';">This folder is used to store different type of file relate to design. This folder is used to save following thing.</span></p>
<p class="MsoNormal" style="MARGIN: 0in 0in 10pt 0.5in; TEXT-INDENT: 0in; TEXT-ALIGN: left" align="left"><span style="font-size: 10pt; line-height: 115%; font-family: 'Verdana','sans-serif';">Master Pages</span></p>
<p class="MsoNormal" style="MARGIN: 0in 0in 10pt 0.5in; TEXT-INDENT: 0in; TEXT-ALIGN: left" align="left"><span style="font-size: 10pt; line-height: 115%; font-family: 'Verdana','sans-serif';">CSS</span></p>
<p class="MsoNormal" style="MARGIN: 0in 0in 10pt 0.5in; TEXT-INDENT: 0in; TEXT-ALIGN: left" align="left"><span style="font-size: 10pt; line-height: 115%; font-family: 'Verdana','sans-serif';">JS file</span></p>
<p class="MsoNormal" style="MARGIN: 0in 0in 10pt"><span style="font-size: 10pt; line-height: 115%; font-family: 'Verdana','sans-serif';">In this directory we are creating the folders and file for Admin and Front-end GUI. For both the modules there are different designs.</span></p>
<div style="BORDER-RIGHT: windowtext 1pt solid; PADDING-RIGHT: 4pt; BORDER-TOP: windowtext 1pt solid; PADDING-LEFT: 4pt; BACKGROUND: #d9d9d9; PADDING-BOTTOM: 1pt; BORDER-LEFT: windowtext 1pt solid; PADDING-TOP: 1pt; BORDER-BOTTOM: windowtext 1pt solid; mso-shading: windowtext; mso-pattern: solid #D9D9D9; mso-border-alt: solid windowtext .5pt; mso-element: para-border-div">
<h2 style="BACKGROUND: #d9d9d9; MARGIN: 0in 0in 4pt; TEXT-INDENT: 0in; mso-list: none; mso-shading: windowtext; mso-pattern: solid #D9D9D9"><a name="_Toc228361950"><span style="font-size: 10pt; font-family: 'Verdana','sans-serif';">Forms</span></a></h2>
</div>
<p class="MsoNormal" style="MARGIN: 0in 0in 10pt"><span style="font-size: 10pt; line-height: 115%; font-family: 'Verdana','sans-serif';">This directory is used to store the forms for the System. In this situation this directory stores two types of files.<span style="mso-no-proof: yes"> </span></span></p>
<p class="MsoNormal" style="MARGIN: 0in 0in 10pt 0.5in; TEXT-INDENT: 0in"><span style="font-size: 10pt; line-height: 115%; font-family: 'Verdana','sans-serif';">ASPX file and</span></p>
<p class="MsoNormal" style="MARGIN: 0in 0in 10pt 0.5in; TEXT-INDENT: 0in"><span style="font-size: 10pt; line-height: 115%; font-family: 'Verdana','sans-serif';">CS file</span></p>
<div style="BORDER-RIGHT: windowtext 1pt solid; PADDING-RIGHT: 4pt; BORDER-TOP: windowtext 1pt solid; PADDING-LEFT: 4pt; BACKGROUND: #d9d9d9; PADDING-BOTTOM: 1pt; BORDER-LEFT: windowtext 1pt solid; PADDING-TOP: 1pt; BORDER-BOTTOM: windowtext 1pt solid; mso-shading: windowtext; mso-pattern: solid #D9D9D9; mso-border-alt: solid windowtext .5pt; mso-element: para-border-div">
<h2 style="BACKGROUND: #d9d9d9; MARGIN: 0in 0in 4pt; TEXT-INDENT: 0in; mso-list: none; mso-shading: windowtext; mso-pattern: solid #D9D9D9"><span style="mso-bookmark: _Toc228361951"><span style="font-size: 10pt; font-family: 'Verdana','sans-serif';">Controls</span></span></h2>
</div>
<p class="MsoNormal" style="MARGIN: 0in 0in 10pt; TEXT-ALIGN: left" align="left"><span style="font-size: 10pt; line-height: 115%; font-family: 'Verdana','sans-serif';">In this directory we are storing the controls which are going to be used in the system. This directory is having different sub-directory like, admin, frontend and general. <span style="mso-spacerun: yes"> </span></span></p>
<p class="MsoNormal" style="MARGIN: 0in 0in 10pt; TEXT-ALIGN: right" align="right"> </p>
<div style="BORDER-RIGHT: windowtext 1pt solid; PADDING-RIGHT: 4pt; BORDER-TOP: windowtext 1pt solid; PADDING-LEFT: 4pt; BACKGROUND: #d9d9d9; PADDING-BOTTOM: 1pt; BORDER-LEFT: windowtext 1pt solid; PADDING-TOP: 1pt; BORDER-BOTTOM: windowtext 1pt solid; mso-shading: windowtext; mso-pattern: solid #D9D9D9; mso-border-alt: solid windowtext .5pt; mso-element: para-border-div">
<h2 style="BACKGROUND: #d9d9d9; MARGIN: 0in 0in 4pt; TEXT-INDENT: 0in; mso-list: none; mso-shading: windowtext; mso-pattern: solid #D9D9D9"><a name="_Toc228361952"></a><span style="mso-bookmark: _Toc228361952"><span style="font-size: 10pt; font-family: 'Verdana','sans-serif';">App_Code</span></span></h2>
</div>
<p class="MsoNormal" style="MARGIN: 0in 0in 10pt"><span style="font-size: 10pt; line-height: 115%; font-family: 'Verdana','sans-serif';">This folder is a system folder which has library code for the system. Code and class files related to the system are kept in this folder.</span><span style="font-size: 10pt; line-height: 115%; font-family: 'Verdana','sans-serif';"> </span></p>
<div style="BORDER-RIGHT: windowtext 1pt solid; PADDING-RIGHT: 4pt; BORDER-TOP: windowtext 1pt solid; PADDING-LEFT: 4pt; BACKGROUND: #d9d9d9; PADDING-BOTTOM: 1pt; BORDER-LEFT: windowtext 1pt solid; PADDING-TOP: 1pt; BORDER-BOTTOM: windowtext 1pt solid; mso-shading: windowtext; mso-pattern: solid #D9D9D9; mso-border-alt: solid windowtext .5pt; mso-element: para-border-div">
<h2 style="BACKGROUND: #d9d9d9; MARGIN: 0in 0in 4pt; TEXT-INDENT: 0in; mso-list: none; mso-shading: windowtext; mso-pattern: solid #D9D9D9"><a name="_Toc228361953"><span style="font-size: 10pt; font-family: 'Verdana','sans-serif';">Images</span></a></h2>
</div>
<p class="MsoNormal" style="MARGIN: 0in 0in 10pt"><span style="font-size: 10pt; line-height: 115%; font-family: 'Verdana','sans-serif';">All the Images related to the Project is kept in this folder</span></p>
<div style="BORDER-RIGHT: windowtext 1pt solid; PADDING-RIGHT: 4pt; BORDER-TOP: windowtext 1pt solid; PADDING-LEFT: 4pt; BACKGROUND: #d9d9d9; PADDING-BOTTOM: 1pt; BORDER-LEFT: windowtext 1pt solid; PADDING-TOP: 1pt; BORDER-BOTTOM: windowtext 1pt solid; mso-shading: windowtext; mso-pattern: solid #D9D9D9; mso-border-alt: solid windowtext .5pt; mso-element: para-border-div">
<h2 style="BACKGROUND: #d9d9d9; MARGIN: 0in 0in 4pt; TEXT-INDENT: 0in; mso-list: none; mso-shading: windowtext; mso-pattern: solid #D9D9D9"><a name="_Toc228361954"><span style="font-size: 10pt; font-family: 'Verdana','sans-serif';">Language</span></a></h2>
</div>
<p class="MsoNormal" style="MARGIN: 0in 0in 10pt"><span style="font-size: 10pt; line-height: 115%; font-family: 'Verdana','sans-serif';">As this module is language independent, XML files of different languages are kept in this folder. </span></p>
<p class="MsoNormal" style="MARGIN: 0in 0in 10pt; TEXT-ALIGN: center" align="center"> </p>
<p class="MsoNormal" style="MARGIN: 0in 0in 10pt; TEXT-ALIGN: center" align="center"><strong style="mso-bidi-font-weight: normal"><span style="font-size: 10pt; line-height: 115%; font-family: 'Verdana','sans-serif';">Flow of Structure from UI (User Interface) to BLL (Business Logic Layer)<br />
and DAL (Data Access Layer)</span></strong></p>
<p class="MsoNormal" style="MARGIN: 0in 0in 10pt"><span style="font-size: 10pt; line-height: 115%; font-family: 'Verdana','sans-serif';">In above diagram user interacts with Forms (UI). Form may contain some user controls that is inherited or created form the existing controls. Data moves from Forms to BLL and from BLL to it moves to DAL. And now data moves from DAL to database. The Data gets reverse to display proper information to the user.</span></p>
<div style="BORDER-RIGHT: windowtext 1pt solid; PADDING-RIGHT: 4pt; BORDER-TOP: windowtext 1pt solid; PADDING-LEFT: 4pt; BACKGROUND: #dbe5f1; PADDING-BOTTOM: 1pt; BORDER-LEFT: windowtext 1pt solid; PADDING-TOP: 1pt; BORDER-BOTTOM: windowtext 1pt solid; mso-shading: #EEECE1; mso-shading-themecolor: background2; mso-pattern: solid #DBE5F1; mso-border-alt: solid windowtext .5pt; mso-element: para-border-div">
<h1 style="BACKGROUND: #dbe5f1; MARGIN: 0in 0in 8pt; TEXT-INDENT: 0in; TEXT-ALIGN: left; mso-list: none; mso-shading: #EEECE1; mso-shading-themecolor: background2; mso-pattern: solid #DBE5F1"><a name="_Toc228361955"><span style="font-size: 10pt; font-family: 'Verdana','sans-serif';"><span style="color: #1f497d;">Namespaces Used to create the Module</span></span></a></h1>
</div>
<p class="MsoNormal" style="MARGIN: 0in 0in 10pt"><span style="font-size: 10pt; line-height: 115%; font-family: 'Verdana','sans-serif';">We have created following namespaces to develop this module.</span></p>
<p class="MsoNormal" style="MARGIN: 0in 0in 10pt 0.5in; TEXT-INDENT: 0in"><span style="font-size: 10pt; line-height: 115%; font-family: 'Verdana','sans-serif';">Maven.UserControls </span></p>
<p class="MsoNormal" style="MARGIN: 0in 0in 10pt 0.5in; TEXT-INDENT: 0in"><span style="font-size: 10pt; line-height: 115%; font-family: 'Verdana','sans-serif';">Maven.HelperClasses </span></p>
<p class="MsoNormal" style="MARGIN: 0in 0in 10pt 0.5in; TEXT-INDENT: 0in"><span style="font-size: 10pt; line-height: 115%; font-family: 'Verdana','sans-serif';">Maven.BLL </span></p>
<p class="MsoNormal" style="MARGIN: 0in 0in 10pt 0.5in; TEXT-INDENT: 0in"><span style="font-size: 10pt; line-height: 115%; font-family: 'Verdana','sans-serif';">Maven.DAL</span></p>
<div style="BORDER-RIGHT: windowtext 1pt solid; PADDING-RIGHT: 4pt; BORDER-TOP: windowtext 1pt solid; PADDING-LEFT: 4pt; BACKGROUND: #d9d9d9; PADDING-BOTTOM: 1pt; BORDER-LEFT: windowtext 1pt solid; PADDING-TOP: 1pt; BORDER-BOTTOM: windowtext 1pt solid; mso-shading: windowtext; mso-pattern: solid #D9D9D9; mso-border-alt: solid windowtext .5pt; mso-element: para-border-div">
<h2 style="BACKGROUND: #d9d9d9; MARGIN: 0in 0in 4pt; TEXT-INDENT: 0in; mso-list: none; mso-shading: windowtext; mso-pattern: solid #D9D9D9"><a name="_Toc228361956"><span style="font-size: 10pt; font-family: 'Verdana','sans-serif';">Maven.UserControls</span></a></h2>
</div>
<p class="MsoNormal" style="MARGIN: 0in 0in 10pt"><span style="font-size: 10pt; line-height: 115%; font-family: 'Verdana','sans-serif';">This namespace is used to create the controls on your page. You can create the control in asp. Page using the following code</span></p>
<div style="BORDER-RIGHT: medium none; PADDING-RIGHT: 0in; BORDER-TOP: medium none; PADDING-LEFT: 0in; PADDING-BOTTOM: 4pt; MARGIN-LEFT: 0.65in; BORDER-LEFT: medium none; MARGIN-RIGHT: 0in; PADDING-TOP: 0in; BORDER-BOTTOM: #4f81bd 1pt solid; mso-border-bottom-alt: solid #4F81BD .5pt; mso-border-bottom-themecolor: accent1; mso-element: para-border-div">
<p class="MsoIntenseQuote" style="MARGIN: 10pt 0in 14pt"><span style="font-size: 10pt; line-height: 115%; font-family: 'Verdana','sans-serif';"><em><span style="color: #4f81bd;"><strong>Register the control in your aspx page.</strong></span></em></span></p>
</div>
<div style="BORDER-RIGHT: windowtext 1pt solid; PADDING-RIGHT: 4pt; BORDER-TOP: windowtext 1pt solid; PADDING-LEFT: 4pt; BACKGROUND: #fdebb9; PADDING-BOTTOM: 1pt; MARGIN-LEFT: 0.7in; BORDER-LEFT: windowtext 1pt solid; MARGIN-RIGHT: 0in; PADDING-TOP: 1pt; BORDER-BOTTOM: windowtext 1pt solid; mso-shading: windowtext; mso-pattern: solid #FDEBB9; mso-border-alt: solid windowtext .5pt; mso-element: para-border-div">
<h5 style="BACKGROUND: #fdebb9; MARGIN: 10pt 0in 0pt; TEXT-INDENT: 0in; mso-list: none; mso-shading: windowtext; mso-pattern: solid #FDEBB9"><span style="color: #243f60;"><span style="font-size: 10pt; background: yellow; line-height: 115%; font-family: 'Verdana','sans-serif'; mso-no-proof: yes; mso-highlight: yellow;">&lt;%</span><span style="font-size: 10pt; line-height: 115%; font-family: 'Verdana','sans-serif'; mso-no-proof: yes;">@ </span></span><span style="font-size: 10pt; color: #800000; line-height: 115%; font-family: 'Verdana','sans-serif'; mso-no-proof: yes;">Register</span><span style="font-size: 10pt; line-height: 115%; font-family: 'Verdana','sans-serif'; mso-no-proof: yes;"><span style="color: #243f60;"> </span></span><span style="font-size: 10pt; color: #ff0000; line-height: 115%; font-family: 'Verdana','sans-serif'; mso-no-proof: yes;">Namespace</span><span style="font-size: 10pt; line-height: 115%; font-family: 'Verdana','sans-serif'; mso-no-proof: yes;"><span style="color: #243f60;">=&#8221;Maven.UserControls&#8221; </span></span><span style="font-size: 10pt; color: #ff0000; line-height: 115%; font-family: 'Verdana','sans-serif'; mso-no-proof: yes;">TagPrefix</span><span style="font-size: 10pt; line-height: 115%; font-family: 'Verdana','sans-serif'; mso-no-proof: yes;"><span style="color: #243f60;">=&#8221;admin&#8221; <span style="BACKGROUND: yellow; mso-highlight: yellow">%&gt;</span></span></span></h5>
</div>
<p class="MsoNormal" style="MARGIN: 0in 0in 10pt"><span style="font-size: 10pt; line-height: 115%; font-family: 'Verdana','sans-serif';">Now you can use the controls from this namespace using the TagPrefix as “admin”. For Example</span></p>
<div style="BORDER-RIGHT: medium none; PADDING-RIGHT: 0in; BORDER-TOP: medium none; PADDING-LEFT: 0in; PADDING-BOTTOM: 4pt; MARGIN-LEFT: 0.65in; BORDER-LEFT: medium none; MARGIN-RIGHT: 0in; PADDING-TOP: 0in; BORDER-BOTTOM: #4f81bd 1pt solid; mso-border-bottom-alt: solid #4F81BD .5pt; mso-border-bottom-themecolor: accent1; mso-element: para-border-div">
<p class="MsoIntenseQuote" style="MARGIN: 10pt 0in 14pt"><span style="font-size: 10pt; line-height: 115%; font-family: 'Verdana','sans-serif';"><em><span style="color: #4f81bd;"><strong>Using User Controls</strong></span></em></span></p>
</div>
<div style="BORDER-RIGHT: windowtext 1pt solid; PADDING-RIGHT: 4pt; BORDER-TOP: windowtext 1pt solid; PADDING-LEFT: 4pt; BACKGROUND: #fdebb9; PADDING-BOTTOM: 1pt; MARGIN-LEFT: 0.7in; BORDER-LEFT: windowtext 1pt solid; MARGIN-RIGHT: 0in; PADDING-TOP: 1pt; BORDER-BOTTOM: windowtext 1pt solid; mso-shading: windowtext; mso-pattern: solid #FDEBB9; mso-border-alt: solid windowtext .5pt; mso-element: para-border-div">
<h5 style="BACKGROUND: #fdebb9; MARGIN: 10pt 0in 0pt; TEXT-INDENT: 0in; mso-list: none; mso-shading: windowtext; mso-pattern: solid #FDEBB9"><span style="font-size: 10pt; line-height: 115%; font-family: 'Verdana','sans-serif'; mso-no-proof: yes;"><span style="color: #243f60;">&lt;</span></span><span style="font-size: 10pt; color: #800000; line-height: 115%; font-family: 'Verdana','sans-serif'; mso-no-proof: yes;">admin</span><span style="font-size: 10pt; line-height: 115%; font-family: 'Verdana','sans-serif'; mso-no-proof: yes;"><span style="color: #243f60;">:</span></span><span style="font-size: 10pt; color: #800000; line-height: 115%; font-family: 'Verdana','sans-serif'; mso-no-proof: yes;">RolePage</span><span style="font-size: 10pt; line-height: 115%; font-family: 'Verdana','sans-serif'; mso-no-proof: yes;"><span style="color: #243f60;"> </span></span><span style="font-size: 10pt; color: #ff0000; line-height: 115%; font-family: 'Verdana','sans-serif'; mso-no-proof: yes;">runat</span><span style="font-size: 10pt; line-height: 115%; font-family: 'Verdana','sans-serif'; mso-no-proof: yes;"><span style="color: #243f60;">=&#8221;server&#8221; </span></span><span style="font-size: 10pt; color: #ff0000; line-height: 115%; font-family: 'Verdana','sans-serif'; mso-no-proof: yes;">CheckPageFor</span><span style="font-size: 10pt; line-height: 115%; font-family: 'Verdana','sans-serif'; mso-no-proof: yes;"><span style="color: #243f60;">=&#8221;Add&#8221; </span></span><span style="font-size: 10pt; color: #ff0000; line-height: 115%; font-family: 'Verdana','sans-serif'; mso-no-proof: yes;">ID</span><span style="font-size: 10pt; line-height: 115%; font-family: 'Verdana','sans-serif'; mso-no-proof: yes;"><span style="color: #243f60;">=&#8221;chk&#8221; /&gt;</span></span></h5>
</div>
<p class="MsoNormal" style="MARGIN: 0in 0in 10pt"><span style="font-size: 10pt; line-height: 115%; font-family: 'Verdana','sans-serif';">Different types of controls used for developing this Module.</span></p>
<table class="MsoTableGrid" style="BORDER-RIGHT: medium none; BORDER-TOP: medium none; BORDER-LEFT: medium none; BORDER-BOTTOM: medium none; BORDER-COLLAPSE: collapse; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-border-alt: solid black .5pt; mso-border-themecolor: text1; mso-yfti-tbllook: 1184" border="1" cellspacing="0" cellpadding="0">
<tbody>
<tr style="mso-yfti-irow: 0; mso-yfti-firstrow: yes">
<td style="BORDER-RIGHT: black 1pt solid; PADDING-RIGHT: 5.4pt; BORDER-TOP: black 1pt solid; PADDING-LEFT: 5.4pt; PADDING-BOTTOM: 0in; BORDER-LEFT: black 1pt solid; WIDTH: 239.4pt; PADDING-TOP: 0in; BORDER-BOTTOM: black 1pt solid; BACKGROUND-COLOR: transparent; mso-border-alt: solid black .5pt; mso-border-themecolor: text1" width="319" valign="top">
<p class="MsoNormal" style="MARGIN: 0in 0in 0pt; TEXT-INDENT: 0in; LINE-HEIGHT: normal"><strong style="mso-bidi-font-weight: normal"><span style="font-size: 10pt; font-family: 'Verdana','sans-serif';">Control Name</span></strong></p>
</td>
<td style="BORDER-RIGHT: black 1pt solid; PADDING-RIGHT: 5.4pt; BORDER-TOP: black 1pt solid; PADDING-LEFT: 5.4pt; PADDING-BOTTOM: 0in; BORDER-LEFT: #ece9d8; WIDTH: 239.4pt; PADDING-TOP: 0in; BORDER-BOTTOM: black 1pt solid; BACKGROUND-COLOR: transparent; mso-border-left-alt: solid black .5pt; mso-border-alt: solid black .5pt; mso-border-themecolor: text1; mso-border-left-themecolor: text1" width="319" valign="top">
<p class="MsoNormal" style="MARGIN: 0in 0in 0pt; TEXT-INDENT: 0in; LINE-HEIGHT: normal"><strong style="mso-bidi-font-weight: normal"><span style="font-size: 10pt; font-family: 'Verdana','sans-serif';">Use</span></strong></p>
</td>
</tr>
<tr style="mso-yfti-irow: 1">
<td style="BORDER-RIGHT: black 1pt solid; PADDING-RIGHT: 5.4pt; BORDER-TOP: #ece9d8; PADDING-LEFT: 5.4pt; PADDING-BOTTOM: 0in; BORDER-LEFT: black 1pt solid; WIDTH: 239.4pt; PADDING-TOP: 0in; BORDER-BOTTOM: black 1pt solid; BACKGROUND-COLOR: transparent; mso-border-alt: solid black .5pt; mso-border-themecolor: text1; mso-border-top-alt: solid black .5pt; mso-border-top-themecolor: text1" width="319" valign="top">
<p class="MsoNormal" style="MARGIN: 0in 0in 0pt; TEXT-INDENT: 0in; LINE-HEIGHT: normal"><span style="font-size: 10pt; font-family: 'Verdana','sans-serif';">ChkRole</span></p>
</td>
<td style="BORDER-RIGHT: black 1pt solid; PADDING-RIGHT: 5.4pt; BORDER-TOP: #ece9d8; PADDING-LEFT: 5.4pt; PADDING-BOTTOM: 0in; BORDER-LEFT: #ece9d8; WIDTH: 239.4pt; PADDING-TOP: 0in; BORDER-BOTTOM: black 1pt solid; BACKGROUND-COLOR: transparent; mso-border-left-alt: solid black .5pt; mso-border-alt: solid black .5pt; mso-border-themecolor: text1; mso-border-bottom-themecolor: text1; mso-border-left-themecolor: text1; mso-border-top-alt: solid black .5pt; mso-border-top-themecolor: text1; mso-border-right-themecolor: text1" width="319" valign="top">
<p class="MsoNormal" style="MARGIN: 0in 0in 0pt; TEXT-INDENT: 0in; LINE-HEIGHT: normal"><span style="font-size: 10pt; font-family: 'Verdana','sans-serif';">This control is used to get whether the User has right to use this page or not. If not he/she will be redirect to Dashboard.aspx page</span></p>
</td>
</tr>
<tr style="mso-yfti-irow: 2">
<td style="BORDER-RIGHT: black 1pt solid; PADDING-RIGHT: 5.4pt; BORDER-TOP: #ece9d8; PADDING-LEFT: 5.4pt; PADDING-BOTTOM: 0in; BORDER-LEFT: black 1pt solid; WIDTH: 239.4pt; PADDING-TOP: 0in; BORDER-BOTTOM: black 1pt solid; BACKGROUND-COLOR: transparent; mso-border-alt: solid black .5pt; mso-border-themecolor: text1; mso-border-top-alt: solid black .5pt; mso-border-top-themecolor: text1" width="319" valign="top">
<p class="MsoNormal" style="MARGIN: 0in 0in 0pt; TEXT-INDENT: 0in; LINE-HEIGHT: normal"><span style="font-size: 10pt; font-family: 'Verdana','sans-serif';">RoleButton</span></p>
</td>
<td style="BORDER-RIGHT: black 1pt solid; PADDING-RIGHT: 5.4pt; BORDER-TOP: #ece9d8; PADDING-LEFT: 5.4pt; PADDING-BOTTOM: 0in; BORDER-LEFT: #ece9d8; WIDTH: 239.4pt; PADDING-TOP: 0in; BORDER-BOTTOM: black 1pt solid; BACKGROUND-COLOR: transparent; mso-border-left-alt: solid black .5pt; mso-border-alt: solid black .5pt; mso-border-themecolor: text1; mso-border-bottom-themecolor: text1; mso-border-left-themecolor: text1; mso-border-top-alt: solid black .5pt; mso-border-top-themecolor: text1; mso-border-right-themecolor: text1" width="319" valign="top">
<p class="MsoNormal" style="MARGIN: 0in 0in 0pt; TEXT-INDENT: 0in; LINE-HEIGHT: normal"><span style="font-size: 10pt; font-family: 'Verdana','sans-serif';">This control inherits Button class. This controls gets Enable and Disable as per the roles and rights of logged in user</span></p>
</td>
</tr>
<tr style="mso-yfti-irow: 3">
<td style="BORDER-RIGHT: black 1pt solid; PADDING-RIGHT: 5.4pt; BORDER-TOP: #ece9d8; PADDING-LEFT: 5.4pt; PADDING-BOTTOM: 0in; BORDER-LEFT: black 1pt solid; WIDTH: 239.4pt; PADDING-TOP: 0in; BORDER-BOTTOM: black 1pt solid; BACKGROUND-COLOR: transparent; mso-border-alt: solid black .5pt; mso-border-themecolor: text1; mso-border-top-alt: solid black .5pt; mso-border-top-themecolor: text1" width="319" valign="top">
<p class="MsoNormal" style="MARGIN: 0in 0in 0pt; TEXT-INDENT: 0in; LINE-HEIGHT: normal"><span style="font-size: 10pt; font-family: 'Verdana','sans-serif';">RoleAddEditPanel</span></p>
</td>
<td style="BORDER-RIGHT: black 1pt solid; PADDING-RIGHT: 5.4pt; BORDER-TOP: #ece9d8; PADDING-LEFT: 5.4pt; PADDING-BOTTOM: 0in; BORDER-LEFT: #ece9d8; WIDTH: 239.4pt; PADDING-TOP: 0in; BORDER-BOTTOM: black 1pt solid; BACKGROUND-COLOR: transparent; mso-border-left-alt: solid black .5pt; mso-border-alt: solid black .5pt; mso-border-themecolor: text1; mso-border-bottom-themecolor: text1; mso-border-left-themecolor: text1; mso-border-top-alt: solid black .5pt; mso-border-top-themecolor: text1; mso-border-right-themecolor: text1" width="319" valign="top">
<p class="MsoNormal" style="MARGIN: 0in 0in 0pt; TEXT-INDENT: 0in; LINE-HEIGHT: normal"><span style="font-size: 10pt; font-family: 'Verdana','sans-serif';">This control inherits Panel class, This class is used to know whether the user has permission to Edit or Add page. If user hasn’t rights Panel will be Disabled otherwise it would be Enable.</span></p>
</td>
</tr>
<tr style="mso-yfti-irow: 4">
<td style="BORDER-RIGHT: black 1pt solid; PADDING-RIGHT: 5.4pt; BORDER-TOP: #ece9d8; PADDING-LEFT: 5.4pt; PADDING-BOTTOM: 0in; BORDER-LEFT: black 1pt solid; WIDTH: 239.4pt; PADDING-TOP: 0in; BORDER-BOTTOM: black 1pt solid; BACKGROUND-COLOR: transparent; mso-border-alt: solid black .5pt; mso-border-themecolor: text1; mso-border-top-alt: solid black .5pt; mso-border-top-themecolor: text1" width="319" valign="top">
<p class="MsoNormal" style="MARGIN: 0in 0in 0pt; TEXT-INDENT: 0in; LINE-HEIGHT: normal"><span style="font-size: 10pt; font-family: 'Verdana','sans-serif';">RoleGridView</span></p>
</td>
<td style="BORDER-RIGHT: black 1pt solid; PADDING-RIGHT: 5.4pt; BORDER-TOP: #ece9d8; PADDING-LEFT: 5.4pt; PADDING-BOTTOM: 0in; BORDER-LEFT: #ece9d8; WIDTH: 239.4pt; PADDING-TOP: 0in; BORDER-BOTTOM: black 1pt solid; BACKGROUND-COLOR: transparent; mso-border-left-alt: solid black .5pt; mso-border-alt: solid black .5pt; mso-border-themecolor: text1; mso-border-bottom-themecolor: text1; mso-border-left-themecolor: text1; mso-border-top-alt: solid black .5pt; mso-border-top-themecolor: text1; mso-border-right-themecolor: text1" width="319" valign="top">
<p class="MsoNormal" style="MARGIN: 0in 0in 0pt; TEXT-INDENT: 0in; LINE-HEIGHT: normal"><span style="font-size: 10pt; font-family: 'Verdana','sans-serif';">This control inherits the GridView Class. If the user has view right this will give Data else it will give Error Message</span></p>
</td>
</tr>
<tr style="mso-yfti-irow: 5; mso-yfti-lastrow: yes">
<td style="BORDER-RIGHT: black 1pt solid; PADDING-RIGHT: 5.4pt; BORDER-TOP: #ece9d8; PADDING-LEFT: 5.4pt; PADDING-BOTTOM: 0in; BORDER-LEFT: black 1pt solid; WIDTH: 239.4pt; PADDING-TOP: 0in; BORDER-BOTTOM: black 1pt solid; BACKGROUND-COLOR: transparent; mso-border-alt: solid black .5pt; mso-border-themecolor: text1; mso-border-top-alt: solid black .5pt; mso-border-top-themecolor: text1" width="319" valign="top">
<p class="MsoNormal" style="MARGIN: 0in 0in 0pt; TEXT-INDENT: 0in; LINE-HEIGHT: normal"><span style="font-size: 10pt; font-family: 'Verdana','sans-serif';">RoleUser</span></p>
</td>
<td style="BORDER-RIGHT: black 1pt solid; PADDING-RIGHT: 5.4pt; BORDER-TOP: #ece9d8; PADDING-LEFT: 5.4pt; PADDING-BOTTOM: 0in; BORDER-LEFT: #ece9d8; WIDTH: 239.4pt; PADDING-TOP: 0in; BORDER-BOTTOM: black 1pt solid; BACKGROUND-COLOR: transparent; mso-border-left-alt: solid black .5pt; mso-border-alt: solid black .5pt; mso-border-themecolor: text1; mso-border-bottom-themecolor: text1; mso-border-left-themecolor: text1; mso-border-top-alt: solid black .5pt; mso-border-top-themecolor: text1; mso-border-right-themecolor: text1" width="319" valign="top">
<p class="MsoNormal" style="MARGIN: 0in 0in 0pt; TEXT-INDENT: 0in; LINE-HEIGHT: normal"><span style="font-size: 10pt; font-family: 'Verdana','sans-serif';">This class is used to manage the Page role wise and display the Login Name in Header</span></p>
</td>
</tr>
</tbody>
</table>
<p class="MsoNormal" style="MARGIN: 0in 0in 10pt; TEXT-INDENT: 0in; TEXT-ALIGN: left" align="left"><span style="font-size: 10pt; line-height: 115%; font-family: 'Verdana','sans-serif'; mso-fareast-font-family: 'Times New Roman'; mso-fareast-theme-font: major-fareast; mso-bidi-font-family: 'Times New Roman'; mso-bidi-theme-font: major-bidi; mso-bidi-font-weight: bold;"> </span></p>
<div style="BORDER-RIGHT: windowtext 1pt solid; PADDING-RIGHT: 4pt; BORDER-TOP: windowtext 1pt solid; PADDING-LEFT: 4pt; BACKGROUND: #d9d9d9; PADDING-BOTTOM: 1pt; BORDER-LEFT: windowtext 1pt solid; PADDING-TOP: 1pt; BORDER-BOTTOM: windowtext 1pt solid; mso-shading: windowtext; mso-pattern: solid #D9D9D9; mso-border-alt: solid windowtext .5pt; mso-element: para-border-div">
<h2 style="BACKGROUND: #d9d9d9; MARGIN: 0in 0in 4pt; TEXT-INDENT: 0in; mso-list: none; mso-shading: windowtext; mso-pattern: solid #D9D9D9"><a name="_Toc228361957"><span style="font-size: 10pt; font-family: 'Verdana','sans-serif';">Maven.HelperClasses</span></a></h2>
</div>
<p class="MsoNormal" style="MARGIN: 0in 0in 10pt"><span style="font-size: 10pt; line-height: 115%; font-family: 'Verdana','sans-serif';">This namespace is used by different classes for different purposes. This namespace has following functionality. This class has Enum for better representation.</span></p>
<p class="MsoNormal" style="MARGIN: 0in 0in 10pt"><span style="font-size: 10pt; line-height: 115%; font-family: 'Verdana','sans-serif';">We can divide this namespace in following type of classes and Enum.</span></p>
<div style="BORDER-RIGHT: medium none; PADDING-RIGHT: 0in; BORDER-TOP: medium none; PADDING-LEFT: 0in; BACKGROUND: #eaf1fa; PADDING-BOTTOM: 1pt; BORDER-LEFT: medium none; PADDING-TOP: 0in; BORDER-BOTTOM: windowtext 1pt solid; mso-shading: windowtext; mso-pattern: solid #EAF1FA; mso-border-bottom-alt: solid windowtext .5pt; mso-element: para-border-div">
<h3 style="BACKGROUND: #eaf1fa; MARGIN: 0in 0in 3pt; TEXT-INDENT: 0in; mso-list: none; mso-shading: windowtext; mso-pattern: solid #EAF1FA"><span style="font-size: 10pt; font-family: 'Verdana','sans-serif';"><span style="color: #548dd4;">Enum</span></span></h3>
</div>
<p class="MsoNormal" style="MARGIN: 0in 0in 10pt"><span style="font-size: 10pt; line-height: 115%; font-family: 'Verdana','sans-serif';">This class is having Enum for better presentation of code. There are different types of Enums in these classes, </span></p>
<p class="MsoNormal" style="MARGIN: 0in 0in 10pt 0.5in; TEXT-INDENT: 0in"><span style="font-size: 10pt; line-height: 115%; font-family: 'Verdana','sans-serif';">CommandName – To know which type of command is fired or used. </span></p>
<p class="MsoNormal" style="MARGIN: 0in 0in 10pt 0.5in; TEXT-INDENT: 0in"><span style="font-size: 10pt; line-height: 115%; font-family: 'Verdana','sans-serif';">RoleFor – To check for the role of user</span></p>
<p class="MsoNormal" style="MARGIN: 0in 0in 10pt 0.5in; TEXT-INDENT: 0in"><span style="font-size: 10pt; line-height: 115%; font-family: 'Verdana','sans-serif';">ChkPageFor – To check for the mode of page for Add or Edit</span></p>
<p class="MsoNormal" style="MARGIN: 0in 0in 10pt 0.5in; TEXT-INDENT: 0in"><span style="font-size: 10pt; line-height: 115%; font-family: 'Verdana','sans-serif';">RoleText – To check which type of role does the user have</span></p>
<div style="BORDER-RIGHT: medium none; PADDING-RIGHT: 0in; BORDER-TOP: medium none; PADDING-LEFT: 0in; BACKGROUND: #eaf1fa; PADDING-BOTTOM: 1pt; BORDER-LEFT: medium none; PADDING-TOP: 0in; BORDER-BOTTOM: windowtext 1pt solid; mso-shading: windowtext; mso-pattern: solid #EAF1FA; mso-border-bottom-alt: solid windowtext .5pt; mso-element: para-border-div">
<h3 style="BACKGROUND: #eaf1fa; MARGIN: 0in 0in 3pt; TEXT-INDENT: 0in; mso-list: none; mso-shading: windowtext; mso-pattern: solid #EAF1FA"><span style="font-size: 10pt; font-family: 'Verdana','sans-serif';"><span style="color: #548dd4;">Static classes</span></span></h3>
</div>
<p class="MsoNormal" style="MARGIN: 0in 0in 10pt"><span style="font-size: 10pt; line-height: 115%; font-family: 'Verdana','sans-serif';">You can directly call this classes’ methods with className.MethodName()</span></p>
<p class="MsoNormal" style="MARGIN: 0in 0in 10pt 0.5in; TEXT-INDENT: 0in"><span style="font-size: 10pt; line-height: 115%; font-family: 'Verdana','sans-serif';">ErrorMessage – This class is used to get the ErrorMessage.</span></p>
<p class="MsoNormal" style="MARGIN: 0in 0in 10pt 0.5in; TEXT-INDENT: 0in"><span style="font-size: 10pt; line-height: 115%; font-family: 'Verdana','sans-serif';">Language – This class is used to translate the language.</span></p>
<div style="BORDER-RIGHT: medium none; PADDING-RIGHT: 0in; BORDER-TOP: medium none; PADDING-LEFT: 0in; BACKGROUND: #eaf1fa; PADDING-BOTTOM: 1pt; BORDER-LEFT: medium none; PADDING-TOP: 0in; BORDER-BOTTOM: windowtext 1pt solid; mso-shading: windowtext; mso-pattern: solid #EAF1FA; mso-border-bottom-alt: solid windowtext .5pt; mso-element: para-border-div">
<h3 style="BACKGROUND: #eaf1fa; MARGIN: 0in 0in 3pt; TEXT-INDENT: 0in; mso-list: none; mso-shading: windowtext; mso-pattern: solid #EAF1FA"><span style="font-size: 10pt; font-family: 'Verdana','sans-serif';"><span style="color: #548dd4;">Base Classes</span></span></h3>
</div>
<p class="MsoNormal" style="MARGIN: 0in 0in 10pt"><span style="font-size: 10pt; line-height: 115%; font-family: 'Verdana','sans-serif';">You can call these classes with the help of object.</span></p>
<p class="MsoNormal" style="MARGIN: 0in 0in 10pt"><span style="font-size: 10pt; line-height: 115%; font-family: 'Verdana','sans-serif';">List of these classes is as follow:</span></p>
<p class="MsoNormal" style="MARGIN: 0in 0in 10pt 0.5in; TEXT-INDENT: 0in"><span style="font-size: 10pt; line-height: 115%; font-family: 'Verdana','sans-serif';">SQLHelper – This class is used for Database operation. Insert, Update and Delete</span></p>
<p class="MsoNormal" style="MARGIN: 0in 0in 10pt 0.5in; TEXT-INDENT: 0in"><span style="font-size: 10pt; line-height: 115%; font-family: 'Verdana','sans-serif';">SQLParamete – This class is used to create and use the Parameter for the Stored Procedure.</span></p>
<p class="MsoNormal" style="MARGIN: 0in 0in 10pt 0.5in; TEXT-INDENT: 0in"><span style="font-size: 10pt; line-height: 115%; font-family: 'Verdana','sans-serif';">XMLHelper – This class is used for XML file operation. Insert, Update and Remove Node</span></p>
<p class="MsoNormal" style="MARGIN: 0in 0in 10pt 0.5in; TEXT-INDENT: 0in"><span style="font-size: 10pt; line-height: 115%; font-family: 'Verdana','sans-serif';">Mail – This class is used to send mail</span></p>
<p class="MsoNormal" style="MARGIN: 0in 0in 10pt 0.5in; TEXT-INDENT: 0in"><span style="font-size: 10pt; line-height: 115%; font-family: 'Verdana','sans-serif';">Error – This class is used for Error and Exception. This class redirects the Page on Error Page when there is any Exception.</span></p>
<div style="BORDER-RIGHT: windowtext 1pt solid; PADDING-RIGHT: 4pt; BORDER-TOP: windowtext 1pt solid; PADDING-LEFT: 4pt; BACKGROUND: #d9d9d9; PADDING-BOTTOM: 1pt; BORDER-LEFT: windowtext 1pt solid; PADDING-TOP: 1pt; BORDER-BOTTOM: windowtext 1pt solid; mso-shading: windowtext; mso-pattern: solid #D9D9D9; mso-border-alt: solid windowtext .5pt; mso-element: para-border-div">
<h2 style="BACKGROUND: #d9d9d9; MARGIN: 0in 0in 4pt; TEXT-INDENT: 0in; mso-list: none; mso-shading: windowtext; mso-pattern: solid #D9D9D9"><a name="_Toc228361958"><span style="font-size: 10pt; font-family: 'Verdana','sans-serif';">Maven.BLL</span></a></h2>
</div>
<p class="MsoNormal" style="MARGIN: 0in 0in 10pt"><span style="font-size: 10pt; line-height: 115%; font-family: 'Verdana','sans-serif';">This is the Business Logic Layer of the User Management Module. All the class in this Namespace is used as a bridge between User Interface and Data Access Layer.</span></p>
<div style="BORDER-RIGHT: windowtext 1pt solid; PADDING-RIGHT: 4pt; BORDER-TOP: windowtext 1pt solid; PADDING-LEFT: 4pt; BACKGROUND: #d9d9d9; PADDING-BOTTOM: 1pt; BORDER-LEFT: windowtext 1pt solid; PADDING-TOP: 1pt; BORDER-BOTTOM: windowtext 1pt solid; mso-shading: windowtext; mso-pattern: solid #D9D9D9; mso-border-alt: solid windowtext .5pt; mso-element: para-border-div">
<h2 style="BACKGROUND: #d9d9d9; MARGIN: 0in 0in 4pt; TEXT-INDENT: 0in; mso-list: none; mso-shading: windowtext; mso-pattern: solid #D9D9D9"><a name="_Toc228361959"><span style="font-size: 10pt; font-family: 'Verdana','sans-serif';">Maven.DAL</span></a></h2>
</div>
<p class="MsoNormal" style="MARGIN: 0in 0in 10pt"><span style="font-size: 10pt; line-height: 115%; font-family: 'Verdana','sans-serif';">This is the Data Access Layer for the User Management Module. All the class in this namespace is used as a bridge between data access layer and Database.</span></p>
<div style="BORDER-RIGHT: windowtext 1pt solid; PADDING-RIGHT: 4pt; BORDER-TOP: windowtext 1pt solid; PADDING-LEFT: 4pt; BACKGROUND: #dbe5f1; PADDING-BOTTOM: 1pt; BORDER-LEFT: windowtext 1pt solid; PADDING-TOP: 1pt; BORDER-BOTTOM: windowtext 1pt solid; mso-shading: #EEECE1; mso-shading-themecolor: background2; mso-pattern: solid #DBE5F1; mso-border-alt: solid windowtext .5pt; mso-element: para-border-div">
<h1 style="BACKGROUND: #dbe5f1; MARGIN: 0in 0in 8pt; TEXT-INDENT: 0in; TEXT-ALIGN: left; mso-list: none; mso-shading: #EEECE1; mso-shading-themecolor: background2; mso-pattern: solid #DBE5F1"><a name="_Toc228361960"><span style="font-size: 10pt; font-family: 'Verdana','sans-serif';"><span style="color: #1f497d;">User Control With UI</span></span></a></h1>
</div>
<p class="MsoNormal" style="MARGIN: 0in 0in 10pt"><span style="font-size: 10pt; line-height: 115%; font-family: 'Verdana','sans-serif';">These are the User controls which have GUI. We can call these controls as follow</span></p>
<div style="BORDER-RIGHT: medium none; PADDING-RIGHT: 0in; BORDER-TOP: medium none; PADDING-LEFT: 0in; PADDING-BOTTOM: 4pt; MARGIN-LEFT: 0.65in; BORDER-LEFT: medium none; MARGIN-RIGHT: 0in; PADDING-TOP: 0in; BORDER-BOTTOM: #4f81bd 1pt solid; mso-border-bottom-alt: solid #4F81BD .5pt; mso-border-bottom-themecolor: accent1; mso-element: para-border-div">
<p class="MsoIntenseQuote" style="MARGIN: 10pt 0in 14pt"><span style="font-size: 10pt; line-height: 115%; font-family: 'Verdana','sans-serif';"><em><span style="color: #4f81bd;"><strong>Registering User Control</strong></span></em></span></p>
</div>
<div style="BORDER-RIGHT: windowtext 1pt solid; PADDING-RIGHT: 4pt; BORDER-TOP: windowtext 1pt solid; PADDING-LEFT: 4pt; BACKGROUND: #fdebb9; PADDING-BOTTOM: 1pt; MARGIN-LEFT: 0.7in; BORDER-LEFT: windowtext 1pt solid; MARGIN-RIGHT: 0in; PADDING-TOP: 1pt; BORDER-BOTTOM: windowtext 1pt solid; mso-shading: windowtext; mso-pattern: solid #FDEBB9; mso-border-alt: solid windowtext .5pt; mso-element: para-border-div">
<h5 style="BACKGROUND: #fdebb9; MARGIN: 10pt 0in 0pt; TEXT-INDENT: 0in; TEXT-ALIGN: left; mso-list: none; mso-shading: windowtext; mso-pattern: solid #FDEBB9"><span style="color: #243f60;"><span style="font-size: 10pt; background: yellow; line-height: 115%; font-family: 'Verdana','sans-serif'; mso-no-proof: yes; mso-highlight: yellow;">&lt;%</span><span style="font-size: 10pt; line-height: 115%; font-family: 'Verdana','sans-serif'; mso-no-proof: yes;">@ </span></span><span style="font-size: 10pt; color: #800000; line-height: 115%; font-family: 'Verdana','sans-serif'; mso-no-proof: yes;">Register</span><span style="font-size: 10pt; line-height: 115%; font-family: 'Verdana','sans-serif'; mso-no-proof: yes;"><span style="color: #243f60;"> </span></span><span style="font-size: 10pt; color: #ff0000; line-height: 115%; font-family: 'Verdana','sans-serif'; mso-no-proof: yes;">Src</span><span style="font-size: 10pt; line-height: 115%; font-family: 'Verdana','sans-serif'; mso-no-proof: yes;"><span style="color: #243f60;">=&#8221;~/controls/general/litral.ascx&#8221; </span></span><span style="font-size: 10pt; color: #ff0000; line-height: 115%; font-family: 'Verdana','sans-serif'; mso-no-proof: yes;">TagName</span><span style="font-size: 10pt; line-height: 115%; font-family: 'Verdana','sans-serif'; mso-no-proof: yes;"><span style="color: #243f60;">=&#8221;Label&#8221; </span></span><span style="font-size: 10pt; color: #ff0000; line-height: 115%; font-family: 'Verdana','sans-serif'; mso-no-proof: yes;">TagPrefix</span><span style="font-size: 10pt; line-height: 115%; font-family: 'Verdana','sans-serif'; mso-no-proof: yes;"><span style="color: #243f60;">=&#8221;admin&#8221; <span style="BACKGROUND: yellow; mso-highlight: yellow">%&gt;</span></span></span></h5>
</div>
<div style="BORDER-RIGHT: medium none; PADDING-RIGHT: 0in; BORDER-TOP: medium none; PADDING-LEFT: 0in; PADDING-BOTTOM: 4pt; MARGIN-LEFT: 0.65in; BORDER-LEFT: medium none; MARGIN-RIGHT: 0in; PADDING-TOP: 0in; BORDER-BOTTOM: #4f81bd 1pt solid; mso-border-bottom-alt: solid #4F81BD .5pt; mso-border-bottom-themecolor: accent1; mso-element: para-border-div">
<p class="MsoIntenseQuote" style="MARGIN: 10pt 0in 14pt"><span style="font-size: 10pt; line-height: 115%; font-family: 'Verdana','sans-serif'; mso-ansi-language: EN-GB;"><em><span style="color: #4f81bd;"><strong>Creating Control</strong></span></em></span></p>
</div>
<div style="BORDER-RIGHT: windowtext 1pt solid; PADDING-RIGHT: 4pt; BORDER-TOP: windowtext 1pt solid; PADDING-LEFT: 4pt; BACKGROUND: #fdebb9; PADDING-BOTTOM: 1pt; MARGIN-LEFT: 0.7in; BORDER-LEFT: windowtext 1pt solid; MARGIN-RIGHT: 0in; PADDING-TOP: 1pt; BORDER-BOTTOM: windowtext 1pt solid; mso-shading: windowtext; mso-pattern: solid #FDEBB9; mso-border-alt: solid windowtext .5pt; mso-element: para-border-div">
<h5 style="BACKGROUND: #fdebb9; MARGIN: 10pt 0in 0pt; TEXT-INDENT: 0in; mso-list: none; mso-shading: windowtext; mso-pattern: solid #FDEBB9"><span style="font-size: 10pt; line-height: 115%; font-family: 'Verdana','sans-serif'; mso-no-proof: yes;"><span style="color: #243f60;">&lt;</span></span><span style="font-size: 10pt; color: #800000; line-height: 115%; font-family: 'Verdana','sans-serif'; mso-no-proof: yes;">admin</span><span style="font-size: 10pt; line-height: 115%; font-family: 'Verdana','sans-serif'; mso-no-proof: yes;"><span style="color: #243f60;">:</span></span><span style="font-size: 10pt; color: #800000; line-height: 115%; font-family: 'Verdana','sans-serif'; mso-no-proof: yes;">Label</span><span style="font-size: 10pt; line-height: 115%; font-family: 'Verdana','sans-serif'; mso-no-proof: yes;"><span style="color: #243f60;"> </span></span><span style="font-size: 10pt; color: #ff0000; line-height: 115%; font-family: 'Verdana','sans-serif'; mso-no-proof: yes;">runat</span><span style="font-size: 10pt; line-height: 115%; font-family: 'Verdana','sans-serif'; mso-no-proof: yes;"><span style="color: #243f60;">=&#8221;server&#8221; </span></span><span style="font-size: 10pt; color: #ff0000; line-height: 115%; font-family: 'Verdana','sans-serif'; mso-no-proof: yes;">ID</span><span style="font-size: 10pt; line-height: 115%; font-family: 'Verdana','sans-serif'; mso-no-proof: yes;"><span style="color: #243f60;">=&#8221;lblUserName&#8221; </span></span><span style="font-size: 10pt; color: #ff0000; line-height: 115%; font-family: 'Verdana','sans-serif'; mso-no-proof: yes;">ControlName</span><span style="font-size: 10pt; line-height: 115%; font-family: 'Verdana','sans-serif'; mso-no-proof: yes;"><span style="color: #243f60;">=&#8221;UserName&#8221; </span></span><span style="font-size: 10pt; color: #ff0000; line-height: 115%; font-family: 'Verdana','sans-serif'; mso-no-proof: yes;">FormName</span><span style="font-size: 10pt; line-height: 115%; font-family: 'Verdana','sans-serif'; mso-no-proof: yes;"><span style="color: #243f60;">=&#8221;USER&#8221; </span></span><span style="font-size: 10pt; color: #ff0000; line-height: 115%; font-family: 'Verdana','sans-serif'; mso-bidi-font-family: 'Courier New'; mso-no-proof: yes;">IsRequired</span><span style="font-size: 10pt; color: #0000ff; line-height: 115%; font-family: 'Verdana','sans-serif'; mso-bidi-font-family: 'Courier New'; mso-no-proof: yes;">=&#8221;true&#8221;</span><span style="font-size: 10pt; line-height: 115%; font-family: 'Verdana','sans-serif'; mso-bidi-font-family: 'Courier New'; mso-no-proof: yes;"><span style="color: #243f60;"> </span></span><span style="font-size: 10pt; color: #0000ff; line-height: 115%; font-family: 'Verdana','sans-serif'; mso-bidi-font-family: 'Courier New'; mso-no-proof: yes;">/&gt;</span></h5>
</div>
<p class="MsoNormal" style="MARGIN: 0in 0in 10pt"><span style="font-size: 10pt; line-height: 115%; font-family: 'Verdana','sans-serif'; mso-no-proof: yes;">In above control FormName is the Node just after Language and befor Control Name</span></p>
<p class="MsoNormal" style="MARGIN: 0in 0in 10pt"><span style="font-size: 10pt; line-height: 115%; font-family: 'Verdana','sans-serif';">Different types of User controls are created as follow:</span></p>
<table class="MsoTableGrid" style="BORDER-RIGHT: medium none; BORDER-TOP: medium none; BORDER-LEFT: medium none; BORDER-BOTTOM: medium none; BORDER-COLLAPSE: collapse; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-border-alt: solid black .5pt; mso-border-themecolor: text1; mso-yfti-tbllook: 1184" border="1" cellspacing="0" cellpadding="0">
<tbody>
<tr style="mso-yfti-irow: 0; mso-yfti-firstrow: yes">
<td style="BORDER-RIGHT: black 1pt solid; PADDING-RIGHT: 5.4pt; BORDER-TOP: black 1pt solid; PADDING-LEFT: 5.4pt; PADDING-BOTTOM: 0in; BORDER-LEFT: black 1pt solid; WIDTH: 239.4pt; PADDING-TOP: 0in; BORDER-BOTTOM: black 1pt solid; BACKGROUND-COLOR: transparent; mso-border-alt: solid black .5pt; mso-border-themecolor: text1" width="319" valign="top">
<p class="MsoNormal" style="MARGIN: 0in 0in 0pt; TEXT-INDENT: 0in; LINE-HEIGHT: normal"><strong style="mso-bidi-font-weight: normal"><span style="font-size: 10pt; font-family: 'Verdana','sans-serif';">Control Name</span></strong></p>
</td>
<td style="BORDER-RIGHT: black 1pt solid; PADDING-RIGHT: 5.4pt; BORDER-TOP: black 1pt solid; PADDING-LEFT: 5.4pt; PADDING-BOTTOM: 0in; BORDER-LEFT: #ece9d8; WIDTH: 239.4pt; PADDING-TOP: 0in; BORDER-BOTTOM: black 1pt solid; BACKGROUND-COLOR: transparent; mso-border-left-alt: solid black .5pt; mso-border-alt: solid black .5pt; mso-border-themecolor: text1; mso-border-left-themecolor: text1" width="319" valign="top">
<p class="MsoNormal" style="MARGIN: 0in 0in 0pt; TEXT-INDENT: 0in; LINE-HEIGHT: normal"><strong style="mso-bidi-font-weight: normal"><span style="font-size: 10pt; font-family: 'Verdana','sans-serif';">User</span></strong></p>
</td>
</tr>
<tr style="mso-yfti-irow: 1">
<td style="BORDER-RIGHT: black 1pt solid; PADDING-RIGHT: 5.4pt; BORDER-TOP: #ece9d8; PADDING-LEFT: 5.4pt; PADDING-BOTTOM: 0in; BORDER-LEFT: black 1pt solid; WIDTH: 239.4pt; PADDING-TOP: 0in; BORDER-BOTTOM: black 1pt solid; BACKGROUND-COLOR: transparent; mso-border-alt: solid black .5pt; mso-border-themecolor: text1; mso-border-top-alt: solid black .5pt; mso-border-top-themecolor: text1" width="319" valign="top">
<p class="MsoNormal" style="MARGIN: 0in 0in 0pt; TEXT-INDENT: 0in; LINE-HEIGHT: normal"><span style="font-size: 10pt; font-family: 'Verdana','sans-serif';">Button</span></p>
</td>
<td style="BORDER-RIGHT: black 1pt solid; PADDING-RIGHT: 5.4pt; BORDER-TOP: #ece9d8; PADDING-LEFT: 5.4pt; PADDING-BOTTOM: 0in; BORDER-LEFT: #ece9d8; WIDTH: 239.4pt; PADDING-TOP: 0in; BORDER-BOTTOM: black 1pt solid; BACKGROUND-COLOR: transparent; mso-border-left-alt: solid black .5pt; mso-border-alt: solid black .5pt; mso-border-themecolor: text1; mso-border-bottom-themecolor: text1; mso-border-left-themecolor: text1; mso-border-top-alt: solid black .5pt; mso-border-top-themecolor: text1; mso-border-right-themecolor: text1" width="319" valign="top">
<p class="MsoNormal" style="MARGIN: 0in 0in 0pt; TEXT-INDENT: 0in; LINE-HEIGHT: normal"><span style="font-size: 10pt; font-family: 'Verdana','sans-serif';">This is the user control to work as button. The Text for this control is retrieved from Language.xml file</span></p>
</td>
</tr>
<tr style="mso-yfti-irow: 2">
<td style="BORDER-RIGHT: black 1pt solid; PADDING-RIGHT: 5.4pt; BORDER-TOP: #ece9d8; PADDING-LEFT: 5.4pt; PADDING-BOTTOM: 0in; BORDER-LEFT: black 1pt solid; WIDTH: 239.4pt; PADDING-TOP: 0in; BORDER-BOTTOM: black 1pt solid; BACKGROUND-COLOR: transparent; mso-border-alt: solid black .5pt; mso-border-themecolor: text1; mso-border-top-alt: solid black .5pt; mso-border-top-themecolor: text1" width="319" valign="top">
<p class="MsoNormal" style="MARGIN: 0in 0in 0pt; TEXT-INDENT: 0in; LINE-HEIGHT: normal"><span style="font-size: 10pt; font-family: 'Verdana','sans-serif';">Literal</span></p>
</td>
<td style="BORDER-RIGHT: black 1pt solid; PADDING-RIGHT: 5.4pt; BORDER-TOP: #ece9d8; PADDING-LEFT: 5.4pt; PADDING-BOTTOM: 0in; BORDER-LEFT: #ece9d8; WIDTH: 239.4pt; PADDING-TOP: 0in; BORDER-BOTTOM: black 1pt solid; BACKGROUND-COLOR: transparent; mso-border-left-alt: solid black .5pt; mso-border-alt: solid black .5pt; mso-border-themecolor: text1; mso-border-bottom-themecolor: text1; mso-border-left-themecolor: text1; mso-border-top-alt: solid black .5pt; mso-border-top-themecolor: text1; mso-border-right-themecolor: text1" width="319" valign="top">
<p class="MsoNormal" style="MARGIN: 0in 0in 0pt; TEXT-INDENT: 0in; LINE-HEIGHT: normal"><span style="font-size: 10pt; font-family: 'Verdana','sans-serif';">This control is used to display the Text on the Web form. We can Retrieve the details from the Language.xml file.</span></p>
</td>
</tr>
<tr style="mso-yfti-irow: 3; mso-yfti-lastrow: yes">
<td style="BORDER-RIGHT: black 1pt solid; PADDING-RIGHT: 5.4pt; BORDER-TOP: #ece9d8; PADDING-LEFT: 5.4pt; PADDING-BOTTOM: 0in; BORDER-LEFT: black 1pt solid; WIDTH: 239.4pt; PADDING-TOP: 0in; BORDER-BOTTOM: black 1pt solid; BACKGROUND-COLOR: transparent; mso-border-alt: solid black .5pt; mso-border-themecolor: text1; mso-border-top-alt: solid black .5pt; mso-border-top-themecolor: text1" width="319" valign="top">
<p class="MsoNormal" style="MARGIN: 0in 0in 0pt; TEXT-INDENT: 0in; LINE-HEIGHT: normal"><span style="font-size: 10pt; font-family: 'Verdana','sans-serif';">OperationPanel</span></p>
</td>
<td style="BORDER-RIGHT: black 1pt solid; PADDING-RIGHT: 5.4pt; BORDER-TOP: #ece9d8; PADDING-LEFT: 5.4pt; PADDING-BOTTOM: 0in; BORDER-LEFT: #ece9d8; WIDTH: 239.4pt; PADDING-TOP: 0in; BORDER-BOTTOM: black 1pt solid; BACKGROUND-COLOR: transparent; mso-border-left-alt: solid black .5pt; mso-border-alt: solid black .5pt; mso-border-themecolor: text1; mso-border-bottom-themecolor: text1; mso-border-left-themecolor: text1; mso-border-top-alt: solid black .5pt; mso-border-top-themecolor: text1; mso-border-right-themecolor: text1" width="319" valign="top">
<p class="MsoNormal" style="MARGIN: 0in 0in 0pt; TEXT-INDENT: 0in; LINE-HEIGHT: normal"><span style="font-size: 10pt; font-family: 'Verdana','sans-serif';">This Control Panel is used to display the button for Add, Delete and Moderate Functionality.</span></p>
</td>
</tr>
</tbody>
</table>
<p> Note: Images will be updated soon.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.offshoresoftwaredevelopmentindia.com/blog/2009/02/20/beginning-with-3-tier-architecture-aspnet/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ASP.NET MVC Framework</title>
		<link>http://www.offshoresoftwaredevelopmentindia.com/blog/2009/01/11/aspnet-mvc-framework/</link>
		<comments>http://www.offshoresoftwaredevelopmentindia.com/blog/2009/01/11/aspnet-mvc-framework/#comments</comments>
		<pubDate>Sun, 11 Jan 2009 10:26:39 +0000</pubDate>
		<dc:creator>nirav</dc:creator>
				<category><![CDATA[.Net Development]]></category>
		<category><![CDATA[ASP.Net Frameworks]]></category>
		<category><![CDATA[C# Development]]></category>
		<category><![CDATA[.Net Development India]]></category>
		<category><![CDATA[ASP.Net 3 Tier Framework]]></category>
		<category><![CDATA[Asp.Net Development]]></category>
		<category><![CDATA[ASP.Net Framework]]></category>
		<category><![CDATA[ASP.Net MVC Framework]]></category>
		<category><![CDATA[Learn ASP.Net MVC framework]]></category>
		<category><![CDATA[MVC framework]]></category>

		<guid isPermaLink="false">http://www.offshoresoftwaredevelopmentindia.com/blog/?p=32</guid>
		<description><![CDATA[By Rupen
Microsoft has released the MVC source to support the MVC structure with ASP.Net. The ASP.NET MVC Framework is a Model-view-controller framework. 
What is ASP.Net?
Asp.Net is the web application framework developed by Microsoft. Software developers can create dynamic websites, web applications and web services using the ASP.Net. ASP.Net is based on .Net framework, which runs [...]]]></description>
			<content:encoded><![CDATA[<p class="MsoNormal" style="MARGIN: 0in 0in 10pt"><span style="font-size: 10pt; line-height: 115%; font-family: 'Verdana','sans-serif';">By Rupen</span></p>
<p class="MsoNormal" style="MARGIN: 0in 0in 10pt"><span style="font-size: 10pt; line-height: 115%; font-family: 'Verdana','sans-serif';">Microsoft has released the MVC source to support the MVC structure with ASP.Net. The ASP.NET MVC Framework is a Model-view-controller framework. </span></p>
<p class="MsoNormal" style="MARGIN: 0in 0in 10pt"><span style="font-size: 10pt; line-height: 115%; font-family: 'Verdana','sans-serif';"><strong>What is ASP.Net?</strong></span></p>
<p class="MsoNormal" style="MARGIN: 0in 0in 10pt"><span style="font-size: 10pt; line-height: 115%; font-family: 'Verdana','sans-serif';">Asp.Net is the web application framework developed by Microsoft. Software developers can create dynamic websites, web applications and web services using the ASP.Net. ASP.Net is based on .Net framework, which runs on CLR – Common Language Runtime. Developers can write ASP.Net code various .Net languages like C#, VB.Net and many more.</span></p>
<p class="MsoNormal" style="MARGIN: 0in 0in 10pt"><span style="font-size: 10pt; line-height: 115%; font-family: 'Verdana','sans-serif';"><strong>What is MVC structure?</strong></span></p>
<p class="MsoNormal" style="MARGIN: 0in 0in 10pt"><span style="font-size: 10pt; line-height: 115%; font-family: 'Verdana','sans-serif';">MVC is architecture with model-view-controller. This architecture differentiates the business layer and presentation layer. </span></p>
<p class="MsoNormal" style="MARGIN: 0in 0in 10pt"><span style="font-size: 10pt; line-height: 115%; font-family: 'Verdana','sans-serif';">Model part represents the Business data layer, which manipulates the application data.<br />
View part represents the Presentation layer, which displays the design for user interface.<br />
Controller part represents the Business logic layer, which communicates with Model part and View part.</span></p>
<p class="MsoNormal" style="MARGIN: 0in 0in 10pt"><span style="font-size: 10pt; line-height: 115%; font-family: 'Verdana','sans-serif';"><strong>What is ASP.Net MVC framework?</strong></span></p>
<p class="MsoNormal" style="MARGIN: 0in 0in 10pt"><span style="font-size: 10pt; line-height: 115%; font-family: 'Verdana','sans-serif';">MVC architecture support with the ASP.Net is delivered by Microsoft with the source file under the name of ASP.Net MVC framework. The ASP.NET MVC Framework is a Model-view-controller framework architecture.</span></p>
<p class="MsoNormal" style="MARGIN: 0in 0in 10pt"><span style="font-size: 10pt; line-height: 115%; font-family: 'Verdana','sans-serif';">This manages the model, view, controllers using interface based contracts. Server – Client post back communication uses the ASP.Net routing mechanism. </span></p>
<p class="MsoNormal" style="MARGIN: 0in 0in 10pt"><span style="font-size: 10pt; line-height: 115%; font-family: 'Verdana','sans-serif';">Views can be standard .aspx pages or different view engines can be used based on XSLT files. </span></p>
<p class="MsoNormal" style="MARGIN: 0in 0in 10pt"><span style="font-size: 10pt; line-height: 115%; font-family: 'Verdana','sans-serif';">Model maps to the database with entries into tables. All the data access and data manipulation tasks delivered through Model.</span></p>
<p class="MsoNormal" style="MARGIN: 0in 0in 10pt"><span style="font-size: 10pt; line-height: 115%; font-family: 'Verdana','sans-serif';">Controller handles the communication and updates the Model part, delivers necessary information to view part to render the user interface.</span></p>
<p class="MsoNormal" style="MARGIN: 0in 0in 10pt"><span style="font-size: 10pt; line-height: 115%; font-family: 'Verdana','sans-serif';">The ASP.NET MVC framework fully supports existing ASP.NET features like forms/windows authentication, URL authorization, membership/roles, output and data caching, session/profile state management, health monitoring, configuration system, the provider architecture, etc</span></p>
<p class="MsoNormal" style="MARGIN: 0in 0in 10pt"><span style="font-size: 10pt; line-height: 115%; font-family: 'Verdana','sans-serif';"><span style="text-decoration: underline;">ASP.NET MVC features:</span></span></p>
<p class="MsoNormal" style="MARGIN: 0in 0in 10pt"><span style="font-size: 10pt; line-height: 115%; font-family: 'Verdana','sans-serif';">- Provides complete control over your HTML markup<br />
- Enables rich AJAX integration<br />
- Intuitive website URLs<br />
- Clear separation of concerns which results in web applications that are easier to maintain and extend over time.<br />
- Testability – including support for test-driven development.</span></p>
<p class="MsoNormal" style="MARGIN: 0in 0in 10pt"><span style="font-size: 10pt; line-height: 115%; font-family: 'Verdana','sans-serif';">For more information please visit following link,</span></p>
<p class="MsoNormal" style="MARGIN: 0in 0in 10pt"><span style="font-size: 10pt; line-height: 115%; font-family: 'Verdana','sans-serif';"><a href="http://weblogs.asp.net/scottgu/archive/2007/10/14/asp-net-mvc-framework.aspx">http://weblogs.asp.net/scottgu/archive/2007/10/14/asp-net-mvc-framework.aspx</a></span></p>
<p class="MsoNormal" style="MARGIN: 0in 0in 10pt"><span style="font-size: 10pt; line-height: 115%; font-family: 'Verdana','sans-serif';">To download the ASP.Net MVC framework visit following link,</span></p>
<p class="MsoNormal" style="MARGIN: 0in 0in 10pt"><span style="font-size: 10pt; line-height: 115%; font-family: 'Verdana','sans-serif';"><a href="http://www.asp.net/mvc/download/">http://www.asp.net/mvc/download/</a></span></p>
<p class="MsoNormal" style="MARGIN: 0in 0in 10pt"><span style="font-size: 10pt; line-height: 115%; font-family: 'Verdana','sans-serif';">To learn the ASP.Net MVC framework visit following link,</span></p>
<p class="MsoNormal" style="MARGIN: 0in 0in 10pt"><span style="font-size: 10pt; line-height: 115%; font-family: 'Verdana','sans-serif';"><a href="http://www.asp.net/mvc/learn/">http://www.asp.net/mvc/learn/</a></span></p>
]]></content:encoded>
			<wfw:commentRss>http://www.offshoresoftwaredevelopmentindia.com/blog/2009/01/11/aspnet-mvc-framework/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MOSS21 / Things to remember for webpart development.</title>
		<link>http://www.offshoresoftwaredevelopmentindia.com/blog/2009/01/10/moss21-things-to-remember-when-creating-and-deploying-webpart-in-sharepoint-server-2007/</link>
		<comments>http://www.offshoresoftwaredevelopmentindia.com/blog/2009/01/10/moss21-things-to-remember-when-creating-and-deploying-webpart-in-sharepoint-server-2007/#comments</comments>
		<pubDate>Sat, 10 Jan 2009 06:58:36 +0000</pubDate>
		<dc:creator>rupen</dc:creator>
				<category><![CDATA[.Net Development]]></category>
		<category><![CDATA[ASP.Net Frameworks]]></category>
		<category><![CDATA[C# Development]]></category>
		<category><![CDATA[Microsoft Project Server]]></category>
		<category><![CDATA[Microsoft SharePoint Server]]></category>
		<category><![CDATA[Learn SharePoint Server]]></category>
		<category><![CDATA[MOSS]]></category>
		<category><![CDATA[MOSS 2007 development]]></category>
		<category><![CDATA[MOSS Customization]]></category>
		<category><![CDATA[MOSS Design]]></category>
		<category><![CDATA[SharePoint code]]></category>
		<category><![CDATA[Sharepoint Configuration]]></category>
		<category><![CDATA[sharepoint customization]]></category>
		<category><![CDATA[sharepoint experts]]></category>
		<category><![CDATA[SharePoint Extension]]></category>
		<category><![CDATA[Sharepoint Server]]></category>
		<category><![CDATA[sharepoint server 2007]]></category>
		<category><![CDATA[sharepoint server Solutions]]></category>
		<category><![CDATA[SharePoint Webpart]]></category>
		<category><![CDATA[Webpart]]></category>
		<category><![CDATA[WebPart for MOSS]]></category>

		<guid isPermaLink="false">http://www.offshoresoftwaredevelopmentindia.com/blog/?p=67</guid>
		<description><![CDATA[This article will help you to develop webpart quickly and easily. Remember following things during the werpart development. That will speed up the creation and deployment of the webpart.
Things to remember when creating and deploying webpart to the site:

Give Assembly name and namespace name for that right click on the project name in solution explorer [...]]]></description>
			<content:encoded><![CDATA[<p><span><span>This article will help you to develop webpart quickly and easily. Remember following things during the werpart development. That will speed up the creation and deployment of the webpart.</span></span></p>
<p><span style="text-decoration: underline;"><strong>T<span><span>hings to remember when creating and deploying webpart to the site:</span></span></strong></span></p>
<ul>
<li>Give Assembly name and namespace name for that right click on the project name in solution explorer and select properties. On Application tab give assembly name and namespace name.</li>
</ul>
<ul>
<li>On Build tab in output path give the bin directory path of the site on which you want to deploy the web part.</li>
</ul>
<ul>
<li>Open AssemblyInfo.cs file and add system.security namespace and also add [assembly: AllowPartiallyTrustedCallers()] and then save the file.</li>
</ul>
<p><a href="http://www.offshoresoftwaredevelopmentindia.com/blog/wp-content/uploads/2009/08/checklist_create_webpart.jpg"><img class="alignnone size-medium wp-image-152" title="MOSS Webpart" src="http://www.offshoresoftwaredevelopmentindia.com/blog/wp-content/uploads/2009/08/checklist_create_webpart-300x190.jpg" alt="MOSS Webpart" width="300" height="190" /></a></p>
<ul>
<li style="text-align: left;">Open the web.config file of the site on which you have to deploy the web part. Site bin directory is under the vitual directories. Path is C:\Inetpub\wwwroot\wss\VirtualDirectories.</li>
</ul>
<ul>
<li>In web.config file add safecontrol entry under safe controls section.</li>
</ul>
<p><a href="http://www.offshoresoftwaredevelopmentindia.com/blog/wp-content/uploads/2009/08/checklist_create_webpart2.jpg"><img class="alignnone size-medium wp-image-153" title="MOSS Webpart" src="http://www.offshoresoftwaredevelopmentindia.com/blog/wp-content/uploads/2009/08/checklist_create_webpart2-300x184.jpg" alt="MOSS Webpart" width="300" height="184" /></a></p>
<ul>
<li>Also Change the trust level: and change it to Full (Write Full trust level).</li>
</ul>
<p><a href="http://www.offshoresoftwaredevelopmentindia.com/blog/wp-content/uploads/2009/08/checklist_create_webpart3.jpg"><img class="alignnone size-medium wp-image-154" title="MOSS Webpart" src="http://www.offshoresoftwaredevelopmentindia.com/blog/wp-content/uploads/2009/08/checklist_create_webpart3-300x187.jpg" alt="MOSS Webpart" width="300" height="187" /></a></p>
<ul>
<li>Deploy the web part.</li>
</ul>
<ul>
<li>When you deploy the web part the dll of the web part that you have created had been created in the bin directory of that site folder under virtual directories.</li>
</ul>
<ul>
<li>On the site go to the web parts section. Click on the site settings menu under site action dropdown list and select web part click new tab and select the web part check mark the web part that you have deployed. And click on populate gallery button now you can add a web part on the web part zone.</li>
</ul>
<p><a href="http://www.offshoresoftwaredevelopmentindia.com/blog/wp-content/uploads/2009/08/checklist_create_webpart4.jpg"><img class="alignnone size-medium wp-image-155" title="MOSS Webpart" src="http://www.offshoresoftwaredevelopmentindia.com/blog/wp-content/uploads/2009/08/checklist_create_webpart4-300x170.jpg" alt="MOSS Webpart" width="300" height="170" /></a></p>
<p><a href="http://www.offshoresoftwaredevelopmentindia.com/blog/wp-content/uploads/2009/08/checklist_create_webpart5.jpg"><img class="alignnone size-medium wp-image-156" title="MOSS Webpart" src="http://www.offshoresoftwaredevelopmentindia.com/blog/wp-content/uploads/2009/08/checklist_create_webpart5-300x159.jpg" alt="MOSS Webpart" width="300" height="159" /></a></p>
<ul>
<li>Now you can add the web part on the web part zone.</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.offshoresoftwaredevelopmentindia.com/blog/2009/01/10/moss21-things-to-remember-when-creating-and-deploying-webpart-in-sharepoint-server-2007/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MOSS20 / Integration of Outlook with the SharePoint</title>
		<link>http://www.offshoresoftwaredevelopmentindia.com/blog/2008/12/10/moss20-integration-of-outlook-with-the-sharepoint/</link>
		<comments>http://www.offshoresoftwaredevelopmentindia.com/blog/2008/12/10/moss20-integration-of-outlook-with-the-sharepoint/#comments</comments>
		<pubDate>Wed, 10 Dec 2008 06:53:43 +0000</pubDate>
		<dc:creator>rupen</dc:creator>
				<category><![CDATA[.Net Development]]></category>
		<category><![CDATA[ASP.Net Frameworks]]></category>
		<category><![CDATA[C# Development]]></category>
		<category><![CDATA[Microsoft Project Server]]></category>
		<category><![CDATA[Microsoft SharePoint Server]]></category>
		<category><![CDATA[Integrate Outlook with MOSS]]></category>
		<category><![CDATA[Learn SharePoint Server]]></category>
		<category><![CDATA[MOSS]]></category>
		<category><![CDATA[MOSS Customization]]></category>
		<category><![CDATA[MOSS Design]]></category>
		<category><![CDATA[Outlook Integration]]></category>
		<category><![CDATA[Outlook Integration with SharePoint]]></category>
		<category><![CDATA[SharePoint code]]></category>
		<category><![CDATA[Sharepoint Configuration]]></category>
		<category><![CDATA[sharepoint customization]]></category>
		<category><![CDATA[sharepoint experts]]></category>
		<category><![CDATA[SharePoint Extension]]></category>
		<category><![CDATA[sharepoint server 2007]]></category>

		<guid isPermaLink="false">http://www.offshoresoftwaredevelopmentindia.com/blog/?p=89</guid>
		<description><![CDATA[Dot Net team at OffshoreSoftwareDevelopmentIndia.com has developed many extensions for Outlook with the SharePoint. This blog is for how to integrate Outlook with SharePoint Server.
Integration of Outlook with the SharePoint:
To use Outlook 2007 to view Share Point Server 2007 resources, we must connect the Share Point Server 2007 resources to Outlook 2007. The steps that [...]]]></description>
			<content:encoded><![CDATA[<p>Dot Net team at OffshoreSoftwareDevelopmentIndia.com has developed many extensions for Outlook with the SharePoint. This blog is for how to integrate Outlook with SharePoint Server.</p>
<p><span style="text-decoration: underline;"><strong>Integration of Outlook with the SharePoint:</strong></span></p>
<p>To use Outlook 2007 to view Share Point Server 2007 resources, we must connect the Share Point Server 2007 resources to Outlook 2007. The steps that described below uses a document library as an example but we can use these steps to connect other resources, including Calendar, Task List, Discussion Board, or Contact List.</p>
<p><strong>Notes:</strong></p>
<p>Share Point Server 2007 permission carry over to Outlook 2007. For example, if you have permission to edit a document or list on a team site, you can also edit the document or list in Outlook 2007.</p>
<p><strong>Steps to integrate Outlook with the Share Point:</strong></p>
<ul>
<li>On a SharePoint Server 2007 site, go to the Shared Documents Document Library. A link to this library should appear on the left navigation menu (Quick Launch).</li>
</ul>
<p><a href="http://www.offshoresoftwaredevelopmentindia.com/blog/wp-content/uploads/2009/08/outlook_integration_1.jpg"><img class="alignnone size-medium wp-image-186" title="Integration of Outlook" src="http://www.offshoresoftwaredevelopmentindia.com/blog/wp-content/uploads/2009/08/outlook_integration_1-300x156.jpg" alt="Integration of Outlook" width="300" height="156" /></a></p>
<ul>
<li>On the Action menu, click Connect to Outlook.</li>
</ul>
<p><a href="http://www.offshoresoftwaredevelopmentindia.com/blog/wp-content/uploads/2009/08/outlook_integration_2.jpg"><img class="alignnone size-medium wp-image-187" title="Integration of Outlook" src="http://www.offshoresoftwaredevelopmentindia.com/blog/wp-content/uploads/2009/08/outlook_integration_2-300x162.jpg" alt="Integration of Outlook" width="300" height="162" /></a></p>
<ul>
<li>In the Connect this SharePoint [Resource] to Outlook window, click yes.</li>
</ul>
<p><a href="http://www.offshoresoftwaredevelopmentindia.com/blog/wp-content/uploads/2009/08/outlook_integration_3.jpg"><img class="alignnone size-medium wp-image-188" title="Integration of Outlook" src="http://www.offshoresoftwaredevelopmentindia.com/blog/wp-content/uploads/2009/08/outlook_integration_3-300x194.jpg" alt="Integration of Outlook" width="300" height="194" /></a></p>
<p>The Shared Documents library appears in a folder in the Mail pane, under the SharePoint Lists.</p>
<p><strong>Note:</strong></p>
<p>When you connect resources to Outlook 2007, the resources appear in their respective sections of the Outlook 2007 navigation pane. Calendars appear in the Calendar pane, under Other Calendars; Tasks appear in the Tasks pane, under Other Tasks; Contact Lists are similar to Document Libraries and appear in the Mail pane, under SharePoint Lists.</p>
<p><strong>Send a Sharing Message:</strong></p>
<p>If you have resources connected to Outlook 2007, you can share the connection with others through a Sharing Message.</p>
<ul>
<li>In Outlook 2007, right-click the listing, and then click Share&#8221; [SharePoint resource].&#8221;</li>
</ul>
<p><a href="http://www.offshoresoftwaredevelopmentindia.com/blog/wp-content/uploads/2009/08/outlook_integration_4.jpg"><img class="alignnone size-medium wp-image-189" title="Integration of Outlook" src="http://www.offshoresoftwaredevelopmentindia.com/blog/wp-content/uploads/2009/08/outlook_integration_4-300x211.jpg" alt="Integration of Outlook" width="300" height="211" /></a></p>
<ul>
<li>In the message window, add recipients to the To line, type a message, and then click send.</li>
</ul>
<ul>
<li>Recipients click a link in the message to connect to the resource.</li>
</ul>
<p><strong>Note:</strong></p>
<p>In order for recipients to access the shared resource, an owner of the resource must provide appropriate access permission.</p>
<p><strong>Connect from a Sharing Message:</strong></p>
<ul>
<li>Open the Sharing Message in Outlook 2007.</li>
</ul>
<ul>
<li>In the Open group on the Outlook 2007 Ribbon, click Connect to this [SharePoint Resource].</li>
</ul>
<p><a href="http://www.offshoresoftwaredevelopmentindia.com/blog/wp-content/uploads/2009/08/outlook_integration_5.jpg"><img class="alignnone size-medium wp-image-190" title="Integration of Outlook" src="http://www.offshoresoftwaredevelopmentindia.com/blog/wp-content/uploads/2009/08/outlook_integration_5-300x225.jpg" alt="Integration of Outlook" width="300" height="225" /></a></p>
<p><strong>Edit Document Library Files in Outlook 2007</strong></p>
<p>When we connected to the corporate network, changes you make to most resources in Outlook 2007(Calendar, Task List, Discussion Board and Contact List) are automatically updated on the SharePoint Server 2007 site.</p>
<ul>
<li>In Outlook 2007, double-click a Document Library file to open it.</li>
</ul>
<ul>
<li>In the Opening File dialog box, click to Open.</li>
</ul>
<p><a href="http://www.offshoresoftwaredevelopmentindia.com/blog/wp-content/uploads/2009/08/outlook_integration_6.jpg"><img class="alignnone size-medium wp-image-191" title="Integration of Outlook" src="http://www.offshoresoftwaredevelopmentindia.com/blog/wp-content/uploads/2009/08/outlook_integration_6-300x210.jpg" alt="Integration of Outlook" width="300" height="210" /></a></p>
<ul>
<li>In the Message bar, at the top of the document, click Edit Offline. (The file opens as read-only until you click Edit Offline).</li>
</ul>
<p><a href="http://www.offshoresoftwaredevelopmentindia.com/blog/wp-content/uploads/2009/08/outlook_integration_7.jpg"><img class="alignnone size-medium wp-image-192" title="Integration of Outlook" src="http://www.offshoresoftwaredevelopmentindia.com/blog/wp-content/uploads/2009/08/outlook_integration_7-300x209.jpg" alt="Integration of Outlook" width="300" height="209" /></a></p>
<ul>
<li>In the Edit Offline dialog box, click Ok.</li>
<p>The file is stored on your computer, in your SharePoint Server 2007 Drafts folder.</ul>
<ul>
<li>Edit the file. When you have finished, save your changes and then close the file.</li>
</ul>
<ul>
<li>In the Edit Offline window, click Update.</li>
</ul>
<p><a href="http://www.offshoresoftwaredevelopmentindia.com/blog/wp-content/uploads/2009/08/outlook_integration_8.jpg"><img class="alignnone size-medium wp-image-193" title="Integration of Outlook" src="http://www.offshoresoftwaredevelopmentindia.com/blog/wp-content/uploads/2009/08/outlook_integration_8-300x210.jpg" alt="Integration of Outlook" width="300" height="210" /></a></p>
<p><strong>Tips</strong></p>
<ul>
<li>To ensure others do not make changes to the file while you are working on it, check it out in SharePoint Server 2007 before you being editing. Be sure to check it in when you have finished.</li>
</ul>
<ul>
<li>To find working copies of SharePoint Server 2007 documents that have not been updated to the SharePoint Server 2007 site, in the Outlook 2007 Mail pane, under SharePoint Lists, look in the SharePoint Drafts search folder.</li>
</ul>
<p><strong>Remove a Connected Document from Outlook 2007</strong></p>
<p>When you have finished work on a SharePoint Server 2007 file, you can remove it from Outlook 2007. This keeps your SharePoint Server 2007 Lists folder organized and helps you focus on current needs.</p>
<ul>
<li>In the SharePoint Lists folder, select the library or list from which you want to remove a file.</li>
</ul>
<ul>
<li>In the window to the right of the Mail navigation pane, select the file you want to remove. To select multiple files, hold down CTRL while you click file names.</li>
</ul>
<ul>
<li>Right-click the selected file and then click Remove Offline Copy.</li>
</ul>
<p><a href="http://www.offshoresoftwaredevelopmentindia.com/blog/wp-content/uploads/2009/08/outlook_integration_9.jpg"><img class="alignnone size-medium wp-image-194" title="Integration of Outlook" src="http://www.offshoresoftwaredevelopmentindia.com/blog/wp-content/uploads/2009/08/outlook_integration_9-300x209.jpg" alt="Integration of Outlook" width="300" height="209" /></a></p>
<p><strong>Delete a Resource from Outlook 2007</strong></p>
<p>When you no longer need a resource, you can remove it from Outlook 2007. This keeps Outlook 2007 organized and helps you focus on current projects.</p>
<ul>
<li>In the SharePoint Lists folder or in the respective sections for Calendars, Task Lists, and Contact Lists select the resource you want to remove.</li>
</ul>
<ul>
<li>Right-click the folder and then click Delete [Resource Name].</li>
</ul>
<p><a href="http://www.offshoresoftwaredevelopmentindia.com/blog/wp-content/uploads/2009/08/outlook_integration_10.jpg"><img class="alignnone size-medium wp-image-195" title="Integration of Outlook" src="http://www.offshoresoftwaredevelopmentindia.com/blog/wp-content/uploads/2009/08/outlook_integration_10-300x211.jpg" alt="Integration of Outlook" width="300" height="211" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.offshoresoftwaredevelopmentindia.com/blog/2008/12/10/moss20-integration-of-outlook-with-the-sharepoint/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MOSS19 / Integration of Excel Services with SharePoint</title>
		<link>http://www.offshoresoftwaredevelopmentindia.com/blog/2008/11/15/moss19-integration-of-excel-services-with-the-sharepoint-server/</link>
		<comments>http://www.offshoresoftwaredevelopmentindia.com/blog/2008/11/15/moss19-integration-of-excel-services-with-the-sharepoint-server/#comments</comments>
		<pubDate>Sat, 15 Nov 2008 06:46:02 +0000</pubDate>
		<dc:creator>rupen</dc:creator>
				<category><![CDATA[.Net Development]]></category>
		<category><![CDATA[ASP.Net Frameworks]]></category>
		<category><![CDATA[C# Development]]></category>
		<category><![CDATA[Microsoft Project Server]]></category>
		<category><![CDATA[Microsoft SharePoint Server]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Excel Services with MOSS]]></category>
		<category><![CDATA[Excel Services With SharePoint Server]]></category>
		<category><![CDATA[Integration Excel Services with SharePoint Server]]></category>
		<category><![CDATA[Integration Of Excel Services With MOSS]]></category>
		<category><![CDATA[Learn SharePoint Server]]></category>
		<category><![CDATA[MOSS]]></category>
		<category><![CDATA[MOSS 2007 development]]></category>
		<category><![CDATA[MOSS Customization]]></category>
		<category><![CDATA[MOSS Design]]></category>
		<category><![CDATA[SharePoint code]]></category>
		<category><![CDATA[Sharepoint Configuration]]></category>
		<category><![CDATA[sharepoint customization]]></category>
		<category><![CDATA[sharepoint experts]]></category>
		<category><![CDATA[SharePoint Extension]]></category>
		<category><![CDATA[sharepoint server 2007]]></category>
		<category><![CDATA[sharepoint server Solutions]]></category>
		<category><![CDATA[Solution for MOSS]]></category>

		<guid isPermaLink="false">http://www.offshoresoftwaredevelopmentindia.com/blog/?p=172</guid>
		<description><![CDATA[Dot Net team at OffshoreSoftwareDevelopmentIndia.com has developed many extenions for Excel Services with the SharePoint Server. How to integrate Excel Services with SharePoint, has mentioned in this article.

Excel Services provides a server-side paradigm for Excel in which spreadsheets published to SharePoint can calculate and render on the server, letting users pull results down to their [...]]]></description>
			<content:encoded><![CDATA[<p>Dot Net team at <span><span>OffshoreSoftwareDevelopmentIndia.com has developed many extenions for Excel Services with the SharePoint Server. How to integrate Excel Services with SharePoint, has mentioned in this article.<br />
</span></span></p>
<p>Excel Services provides a server-side paradigm for Excel in which spreadsheets published to SharePoint can calculate and render on the server, letting users pull results down to their browsers. In this new scenario, analysts can publish their worksheets to SharePoint, and allow Excel Services to kick in, meaning that anybody who browses to the site containing the spreadsheet can access the full functionality of the sheet whether or not they have Excel installed. In this scenario, the formulae that analysts enter become the code that everyone will run. You don&#8217;t need a developer to reemployment the formulae or create a new application.</p>
<p><span style="text-decoration: underline;"><strong>Creating and Configuring SharePoint for Excel Services:-</strong></span></p>
<p>First of all create the Blank Site. At the top right of the screen you can see the Site Action menu dropdown list. Select &#8220;Create&#8221; from the dropdown and you will be taken to a screen containing several categories of options for creating various types of item (See below Figure).</p>
<p><a href="http://www.offshoresoftwaredevelopmentindia.com/blog/wp-content/uploads/2009/08/excel_services_1.jpg"><img class="alignnone size-medium wp-image-173" title="Integration for Excel Services" src="http://www.offshoresoftwaredevelopmentindia.com/blog/wp-content/uploads/2009/08/excel_services_1-300x165.jpg" alt="Integration for Excel Services" width="300" height="165" /></a></p>
<p><a href="http://www.offshoresoftwaredevelopmentindia.com/blog/wp-content/uploads/2009/08/excel_services_2.jpg"><img class="alignnone size-medium wp-image-174" title="Integration for Excel Services" src="http://www.offshoresoftwaredevelopmentindia.com/blog/wp-content/uploads/2009/08/excel_services_2-300x165.jpg" alt="Integration for Excel Services" width="300" height="165" /></a></p>
<p>Select &#8220;Document Library&#8221; from this screen to create a new Document Library. On the Document Library screen, give the new document library a name and a Document Template. Choose any name you like (the examples use &#8220;Analytics,&#8221; and select &#8220;Microsoft Office Excel Worksheet&#8221; as the document template).</p>
<p>And Click on Create.</p>
<p><a href="http://www.offshoresoftwaredevelopmentindia.com/blog/wp-content/uploads/2009/08/excel_services_4.jpg"><img class="alignnone size-medium wp-image-176" title="Integration of Excel Services" src="http://www.offshoresoftwaredevelopmentindia.com/blog/wp-content/uploads/2009/08/excel_services_4-300x183.jpg" alt="Integration of Excel Services" width="300" height="183" /></a></p>
<p><strong>Running Excel Services:</strong></p>
<p>Before Excel Services will work with this repository; you must make sure that the services are up and running correctly. To do this, return to the Central Administration screen, and select the Operations tab. From here, select the &#8220;Services on Server&#8221; screen. You&#8217;ll see a list of services at the bottom of the screen. Make sure that &#8220;Excel Calculation Services&#8221; is started. If it isn&#8217;t, use the link beside it to start up the service.</p>
<p>Additionally, you&#8217;ll have to configure a trusted file location for your Excel workbooks. You do this by returning to Central Administration, and selecting the &#8220;Create or configure this farm&#8217;s shared services&#8221; link. You&#8217;ll see the &#8220;SharedServices1 (Default)&#8221; entry on this screen. Drop this down, by clicking the arrow to the right of it, and select the &#8220;Open Shared Services Admin Site&#8221; option. This opens the administration screen for these shared services. On the right side of this screen you&#8217;ll see the &#8220;Trusted File Locations&#8221; link which you can use to set up where you can store the Excel files securely. Select &#8220;Add Trusted File Location&#8221; and you&#8217;ll see the screen below.</p>
<p><a href="http://www.offshoresoftwaredevelopmentindia.com/blog/wp-content/uploads/2009/08/excel_services_5.jpg"><img class="alignnone size-medium wp-image-177" title="Integration of Excel Services" src="http://www.offshoresoftwaredevelopmentindia.com/blog/wp-content/uploads/2009/08/excel_services_5-300x171.jpg" alt="Integration of Excel Services" width="300" height="171" /></a></p>
<p><a href="http://www.offshoresoftwaredevelopmentindia.com/blog/wp-content/uploads/2009/08/excel_services_6.jpg"><img class="alignnone size-medium wp-image-178" title="Integration of Excel Services" src="http://www.offshoresoftwaredevelopmentindia.com/blog/wp-content/uploads/2009/08/excel_services_6-300x181.jpg" alt="Integration of Excel Services" width="300" height="181" /></a></p>
<p><a href="http://www.offshoresoftwaredevelopmentindia.com/blog/wp-content/uploads/2009/08/excel_services_7.jpg"><img class="alignnone size-medium wp-image-179" title="Integration of Excel Services" src="http://www.offshoresoftwaredevelopmentindia.com/blog/wp-content/uploads/2009/08/excel_services_7-300x177.jpg" alt="Integration of Excel Services" width="300" height="177" /></a></p>
<p><a href="http://www.offshoresoftwaredevelopmentindia.com/blog/wp-content/uploads/2009/08/excel_services_8.jpg"><img class="alignnone size-medium wp-image-180" title="Integration of Excel Services" src="http://www.offshoresoftwaredevelopmentindia.com/blog/wp-content/uploads/2009/08/excel_services_8-300x177.jpg" alt="Integration of Excel Services" width="300" height="177" /></a></p>
<p>Use the URL address of the document library that you set up earlier (for example: http://win2k3sp:17964/sites/DevX1/Analytics) and make sure to specify the Location Type as &#8220;Windows SharePoint Services.&#8221; Click &#8220;OK&#8221; and the SharePoint will create the trusted file location as shown in Figure.</p>
<p><strong>Creating and Publishing a Spreadsheet:-</strong></p>
<p>Now you need a spreadsheet to use for shared calculations. For this example, you&#8217;ll build a very simple example spreadsheet that serves to demonstrate how the calculation services work. The spreadsheet performs a simple analytics calculation, called a &#8220;P/E Ration,&#8221; which simply divides the price of a stock by its earnings. It&#8217;s a useful analytic that tells you how many years you&#8217;ll need to own a stock before it pays for itself in earnings. So, for example, if your stock costs $100 and earns $10 a year, it will take 10 years to pay for itself in earnings. This ratio (or analytic) is usually seen as a great indicator of the value of a stock. In a real-world scenario, the user will provide a stock ticker, and the application would retrieve the values for price and earnings from a database. The spreadsheet could then divide price by earnings using a formula. For simplicity, this example doesn&#8217;t use a database—you&#8217;ll simply provide the spreadsheet with the price and earnings values. The P/E will be a simple Excel formula that divides the named ranges for the Price and Earnings values.</p>
<p>I&#8217;ve added a chart to show the relative values of Price and Earnings, and you can see the spreadsheet in Figure.</p>
<p><a href="http://www.offshoresoftwaredevelopmentindia.com/blog/wp-content/uploads/2009/08/excel_services_9.jpg"><img class="alignnone size-medium wp-image-181" title="Integration of Excel Services" src="http://www.offshoresoftwaredevelopmentindia.com/blog/wp-content/uploads/2009/08/excel_services_9-300x211.jpg" alt="Integration of Excel Services" width="300" height="211" /></a></p>
<p>When you&#8217;ve completed the spreadsheet, publish it to SharePoint using the Excel Services option on the &#8220;Publish&#8221; menu see Figure.</p>
<p><a href="http://www.offshoresoftwaredevelopmentindia.com/blog/wp-content/uploads/2009/08/excel_services_10.jpg"><img class="alignnone size-medium wp-image-182" title="Integration of Excel Services" src="http://www.offshoresoftwaredevelopmentindia.com/blog/wp-content/uploads/2009/08/excel_services_10-300x216.jpg" alt="Integration of Excel Services" width="300" height="216" /></a></p>
<p>When you select this, the &#8220;Save As&#8221; dialog will appear. You can use this dialog to specify the save location this should be the location that you configured as a Trusted Location earlier. However, before you do this, you should select the &#8220;Excel Services Options&#8221; button at the bottom of the dialog. You use these options to specify the items within the sheet that you want to have available to browsers. This is important, as you may have some proprietary stuff that you do not want to publish. You can simply uncheck that from this dialog and it will not be published to SharePoint, and thus kept private.</p>
<p>You&#8217;re now ready to publish. For the file name, specify the path to the SharePoint site that you set up earlier. The dialog will refresh and show you the document library. You can then save the document into the library. (See below Figure).</p>
<p>SharePoint publishes your workbook into the document library. If you browse to this document from IE, you&#8217;ll see an Excel-like generated interface. Remember, your clients do not need to have Excel installed to use the application that you&#8217;ve just built in Excel that&#8217;s part of the magic of using SharePoint and Excel services.</p>
<p><a href="http://www.offshoresoftwaredevelopmentindia.com/blog/wp-content/uploads/2009/08/excel_services_11.jpg"><img class="alignnone size-medium wp-image-183" title="Integration of Excel Services" src="http://www.offshoresoftwaredevelopmentindia.com/blog/wp-content/uploads/2009/08/excel_services_11-300x209.jpg" alt="Integration of Excel Services" width="300" height="209" /></a></p>
<p><a href="http://www.offshoresoftwaredevelopmentindia.com/blog/wp-content/uploads/2009/08/excel_services_12.jpg"><img class="alignnone size-medium wp-image-184" title="Integration of Excel Services" src="http://www.offshoresoftwaredevelopmentindia.com/blog/wp-content/uploads/2009/08/excel_services_12-300x180.jpg" alt="Integration of Excel Services" width="300" height="180" /></a></p>
<p>You may open the worksheet from the Document Library (See Figure).</p>
<p><a href="http://www.offshoresoftwaredevelopmentindia.com/blog/wp-content/uploads/2009/08/excel_services_13.jpg"><img class="alignnone size-medium wp-image-185" title="Integrations of Excel Services" src="http://www.offshoresoftwaredevelopmentindia.com/blog/wp-content/uploads/2009/08/excel_services_13-300x180.jpg" alt="Integrations of Excel Services" width="300" height="180" /></a></p>
<p>In this article you saw the procedures to configure and use Excel Services with SharePoint 2007. This is a terrific and incredibly useful service that allows you to publish your Excel documents to a server library and let users run them, taking advantage of the Excel&#8217;s calculation power and formulae. This is important on a number of fronts. First, it prevents version drift of documents a common problem for companies that use a lot of spreadsheets. Having a centralized repository means that all users can share the same version. Additionally, because the calculations can now run on the server, many users don&#8217;t even need to have Excel installed! They just need to be able to browse to the SharePoint repository and render the sheet within their browsers. The user who specifies the calculations also becomes the developer of the functionality available to the end users. So, instead of having a developer translate Excel spreadsheets and formulae into a language suitable for Web applications and building a custom UI, your formula experts can simply publish their spreadsheets to Excel and have end users consume them directly.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.offshoresoftwaredevelopmentindia.com/blog/2008/11/15/moss19-integration-of-excel-services-with-the-sharepoint-server/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MOSS11 / Creating a Solution for SharePoint Server</title>
		<link>http://www.offshoresoftwaredevelopmentindia.com/blog/2008/09/10/moss11-creating-a-solution-for-sharepoint-server-200/</link>
		<comments>http://www.offshoresoftwaredevelopmentindia.com/blog/2008/09/10/moss11-creating-a-solution-for-sharepoint-server-200/#comments</comments>
		<pubDate>Wed, 10 Sep 2008 05:20:13 +0000</pubDate>
		<dc:creator>rupen</dc:creator>
				<category><![CDATA[.Net Development]]></category>
		<category><![CDATA[ASP.Net Frameworks]]></category>
		<category><![CDATA[C# Development]]></category>
		<category><![CDATA[Microsoft Project Server]]></category>
		<category><![CDATA[Microsoft SharePoint Server]]></category>
		<category><![CDATA[Create Solution for MOSS]]></category>
		<category><![CDATA[Create Solution for SharePoint Server]]></category>
		<category><![CDATA[Learn SharePoint Server]]></category>
		<category><![CDATA[MOSS]]></category>
		<category><![CDATA[MOSS 2007 development]]></category>
		<category><![CDATA[MOSS Customization]]></category>
		<category><![CDATA[MOSS Design]]></category>
		<category><![CDATA[SharePoint code]]></category>
		<category><![CDATA[sharepoint customization]]></category>
		<category><![CDATA[sharepoint experts]]></category>
		<category><![CDATA[SharePoint Extension]]></category>
		<category><![CDATA[Sharepoint Server]]></category>
		<category><![CDATA[sharepoint server 2007]]></category>
		<category><![CDATA[sharepoint server Solutions]]></category>
		<category><![CDATA[SharePoint Webpart]]></category>
		<category><![CDATA[Solution for MOSS]]></category>

		<guid isPermaLink="false">http://www.offshoresoftwaredevelopmentindia.com/blog/?p=117</guid>
		<description><![CDATA[SharePoint team and Project server team at offshoresoftwaredevelopmentindia.com has great experience of creating web application based on MOSS 2007 and Project server 2007. That includes customization and development of webpart, site definitions, theme development, extension development, module creation. The team has developed CRM application, Job portal, Project management, to CMS applications based on MOSS 2007 [...]]]></description>
			<content:encoded><![CDATA[<p>SharePoint team and Project server team at offshoresoftwaredevelopmentindia.com has great experience of creating web application based on MOSS 2007 and Project server 2007. That includes customization and development of webpart, site definitions, theme development, extension development, module creation. The team has developed CRM application, Job portal, Project management, to CMS applications based on MOSS 2007 and project server 2007.</p>
<p>Team would like to share same experience. This can help who wanted to begin with the sharePoint development and Project Server development.</p>
<p>There are list of articles start with SP and from number 1 to &#8230; Always start with the article SP1 and read next article to start working on MOSS easily and quickly.</p>
<p><span style="text-decoration: underline;"><strong>Creating a Solution:</strong></span></p>
<p>A solution package is a cabinet (.cab) file with a .wsp file name extension and a manifest file. It can contain the following components:</p>
<ul>
<li>Site definitions</li>
</ul>
<ul>
<li> Feature definitions and their corresponding element definitions and files</li>
</ul>
<ul>
<li> Web Part files (*.webpart, *.dwp)</li>
</ul>
<ul>
<li> Template files and root files, which can include the following:
<ol>
<li>_layouts files</li>
<li>Resources(*.resx)</li>
<li>Resource files(for example, *.doc or *.xls)</li>
</ol>
</li>
</ul>
<ul>
<li> Assemblies, which can include the following:
<ol>
<li>Safe control entries</li>
<li>Resources</li>
</ol>
</li>
</ul>
<ul>
<li>Code access security policies</li>
</ul>
<p>Solution files have a hierarchical structure a manifest file is at the root while feature, resource, or site definition directories are contained in subdirectories. In turn, feature definitions define where associated files are located inside of the solution.</p>
<p>The solution creator can define the remaining structure; however, it is recommended that files for a particular feature or site definition be placed in that feature or site definition&#8217;s subdirectory.</p>
<p><strong>Note:</strong></p>
<p>The directory structure inside of the .wsp file determines the final directory structure on the front-end Web server file system.</p>
<p>To create a solution package, perform the following steps:</p>
<ul>
<li>Create a solution manifest.xml file.</li>
<p>The solution manifest (always called manifest.xml) is stored at the root of a solution file. This file defines the list of features, site definitions, resource files, Web Part files, and assemblies to process. It does not define the file structure if files are included in a solution but not listed in the manifest XML file, they are not processed in any way.</p>
<p>Following is the structure of a manifest.xml file.</p>
<p>XML</ul>
<div style="background-color:#F8F8F8">
<p style="padding-left: 60px;">
<p style="padding-left: 60px;">
<p style="padding-left: 60px; text-align: left;">&lt;Solution SolutionId=&#8221;4AFC1350-F354-4439-B941-51377E845F2B&#8221; xmlns=&#8221;http://schemas.microsoft.com/sharepoint/&#8221;&gt;</p>
<p style="padding-left: 90px; text-align: left;">&lt;FeatureManifests&gt;<br />
&lt;FeatureManifest Location=&#8221;FeatureLibrary\feature.xml&#8221;/&gt;<br />
&lt;/FeatureManifests&gt;<br />
&lt;TemplateFiles&gt;<br />
&lt;TemplateFile Location=&#8221;ControlTemplates\Featurelibraryform.ascx&#8221;/&gt;<br />
&lt;/TemplateFiles&gt;<br />
&lt;RootFiles&gt;<br />
&lt;!&#8211; These files go into the 12\ directory and can be used for Web services and global resources &#8211;&gt;<br />
&lt;RootFile Location=&#8221;ISAPI\MyWebService.asmx&#8221;&gt;<br />
&lt;/RootFiles&gt;<br />
&lt;Assemblies&gt;<br />
&lt;Assembly DeploymentTarget=&#8221;GlobalAssemblyCache&#8221;<br />
Location=&#8221;ms.samples.sharepoint.myFeature.dll&#8221;/&gt;<br />
&lt;/Assemblies&gt;</p>
<p style="padding-left: 60px; text-align: left;">&lt;/Solution&gt;</p>
<p style="padding-left: 60px;">
</div>
<p>In addition, you can add a DwpFiles element to specify .webpart or .dwp files, or a ResourceFiles element to specify resource files, site definitions, application resources, and code access security policies.</p>
<ul>
<li> Optional. Annotate your feature.xml files with  tags.</li>
</ul>
<p style="padding-left: 60px;">In the &lt;ElementManifests&gt; tag in your feature.xml file, add &lt;ElementFile Location=&#8221;&#8230;&#8221;/&gt; for all of the extra files in your feature, such as .aspx pages (for example, allitems.aspx) or master pages, and so on.</p>
<p style="padding-left: 60px;"><strong>Note:</strong></p>
<p style="padding-left: 60px;">This step is required only if your solution contains features.</p>
<ul>
<li>Create your solution package (the .wsp file).</li>
</ul>
<p style="padding-left: 60px;">Because the solution file is essentially a .cab file, use the makecab.exe tool to create the solution package. The makecab.exe tool takes a pointer to a .ddf file, which describes the structure of the .cab file. The format of a .ddf file is basically in the same style as the .inf file you declare a standard header and then enumerate, one file per line, the set of files by where they live on disk, separated by where they should live in the .cab file.</p>
<p style="padding-left: 60px;">Xml</p>
<p style="padding-left: 60px;">.OPTION EXPLICIT; Generate errors<br />
.Set CabinetNameTemplate=MySolutionFile.wsp<br />
.set DiskDirectoryTemplate=CDROM ; All cabinets go in a single directory<br />
.Set CompressionType=MSZIP;** All files are compressed in cabinet files<br />
.Set UniqueFiles=&#8221;ON&#8221;<br />
.Set Cabinet=on<br />
.Set DiskDirectory1=Package<br />
build\manifest.xml manifest.xml<br />
build\ MySolutionFile \feature.xml MySolutionFile \feature.xml</p>
<p style="padding-left: 60px;">
<p><strong>Installation Instructions:</strong></p>
<p><strong>Prerequisites:</strong></p>
<p style="padding-left: 30px;">- Installation package: LHH.PageLayoutsAndLists.wsp</p>
<p style="padding-left: 30px;">- Flash Player installed on the client to access the site.</p>
<p>From cmd go to: &#8220;C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\bin&#8221;</p>
<ul>
<li><strong>Adding Solution:</strong></li>
</ul>
<p style="padding-left: 60px;">Run this command:<br />
Stsadm.exe  -o addsolution -filename C:\Temp\LHH.PageLayoutsAndLists.wsp</p>
<ul>
<li><strong>Deploying Solution:</strong></li>
</ul>
<p style="padding-left: 60px;">Run this command<br />
Stsadm.exe -o deploysolution -name LHH.PageLayoutsAndLists.wsp –local -allowgacdeployment</p>
<ul>
<li><strong>Activating Features:</strong></li>
</ul>
<p style="padding-left: 60px;">From LHH Portal Site go to Site Actions &gt;&gt; Site Settings &gt;&gt; Modify All Site Settings</p>
<p>Site Collection Features<br />
Activate:<br />
LHH Content Types<br />
LHH Master Page and Page Layouts</p>
<p style="padding-left: 60px;">
<ul>
<li><strong>Referencing content types:</strong></li>
</ul>
<p style="padding-left: 60px;">Go to &#8220;Site Actions&#8221; &gt;&gt; View All Site Content &gt;&gt; Pages<br />
Click on &#8220;Document Library Settings&#8221;<br />
Click on Advance Settings &gt;&gt; Allow Manage Content Types (True) &gt;&gt; Ok</p>
<p style="padding-left: 30px;">Then Go to</p>
<p style="padding-left: 30px;">Site actions -&gt; Site setting -&gt; modify all settings</p>
<p style="padding-left: 30px;">Site collection administration -&gt; site collection feature</p>
<p style="padding-left: 30px;"><a href="http://www.offshoresoftwaredevelopmentindia.com/blog/wp-content/uploads/2009/07/solution_site_settings.jpg"><img class="alignnone size-medium wp-image-147" title="solution site settings" src="http://www.offshoresoftwaredevelopmentindia.com/blog/wp-content/uploads/2009/07/solution_site_settings-300x139.jpg" alt="solution site settings" width="300" height="139" /></a></p>
<p style="padding-left: 30px;">
<p style="padding-left: 30px;">Then you will see the site collection feature list, active our feature from the list. We will have all the features available.</p>
<p style="padding-left: 30px;">
<p style="padding-left: 30px;"><a href="http://www.offshoresoftwaredevelopmentindia.com/blog/wp-content/uploads/2009/07/solution_site_features.jpg"><img title="solution site features" src="http://www.offshoresoftwaredevelopmentindia.com/blog/wp-content/uploads/2009/07/solution_site_features-300x143.jpg" alt="solution site features" width="300" height="143" /></a></p>
<p style="padding-left: 30px;">
<p style="text-align: left; padding-left: 30px;">
<p style="padding-left: 30px;">
<p style="padding-left: 30px;">
<p style="padding-left: 30px;">
<p style="padding-left: 30px;">
<p style="padding-left: 30px;">
<p style="padding-left: 30px;">
<p style="padding-left: 30px;">
]]></content:encoded>
			<wfw:commentRss>http://www.offshoresoftwaredevelopmentindia.com/blog/2008/09/10/moss11-creating-a-solution-for-sharepoint-server-200/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MOSS10 / Publishing Page Layout using a Feature</title>
		<link>http://www.offshoresoftwaredevelopmentindia.com/blog/2008/08/10/moss10-publishing-page-layout-using-a-feature-in-sharepoint-server-2007/</link>
		<comments>http://www.offshoresoftwaredevelopmentindia.com/blog/2008/08/10/moss10-publishing-page-layout-using-a-feature-in-sharepoint-server-2007/#comments</comments>
		<pubDate>Sun, 10 Aug 2008 05:20:25 +0000</pubDate>
		<dc:creator>rupen</dc:creator>
				<category><![CDATA[.Net Development]]></category>
		<category><![CDATA[ASP.Net Frameworks]]></category>
		<category><![CDATA[C# Development]]></category>
		<category><![CDATA[Microsoft Project Server]]></category>
		<category><![CDATA[Microsoft SharePoint Server]]></category>
		<category><![CDATA[Features in MOSS]]></category>
		<category><![CDATA[Learn SharePoint Server]]></category>
		<category><![CDATA[MOSS]]></category>
		<category><![CDATA[MOSS 2007 development]]></category>
		<category><![CDATA[MOSS Customization]]></category>
		<category><![CDATA[MOSS Design]]></category>
		<category><![CDATA[Publishing Features]]></category>
		<category><![CDATA[Publishing Page Layout for MOSS]]></category>
		<category><![CDATA[SharePoint code]]></category>
		<category><![CDATA[Sharepoint Configuration]]></category>
		<category><![CDATA[sharepoint customization]]></category>
		<category><![CDATA[sharepoint experts]]></category>
		<category><![CDATA[Sharepoint Server]]></category>

		<guid isPermaLink="false">http://www.offshoresoftwaredevelopmentindia.com/blog/?p=116</guid>
		<description><![CDATA[SharePoint team and Project server team at offshoresoftwaredevelopmentindia.com has great experience of creating web application based on MOSS 2007 and Project server 2007. That includes customization and development of webpart, site definitions, theme development, extension development, module creation. The team has developed CRM application, Job portal, Project management, to CMS applications based on MOSS 2007 [...]]]></description>
			<content:encoded><![CDATA[<p>SharePoint team and Project server team at offshoresoftwaredevelopmentindia.com has great experience of creating web application based on MOSS 2007 and Project server 2007. That includes customization and development of webpart, site definitions, theme development, extension development, module creation. The team has developed CRM application, Job portal, Project management, to CMS applications based on MOSS 2007 and project server 2007.</p>
<p>Team would like to share same experience. This can help who wanted to begin with the sharePoint development and Project Server development.</p>
<p>There are list of articles start with SP and from number 1 to &#8230;. Always start with the article SP1 and read next article to start working on MOSS easily and quickly.</p>
<p><span style="text-decoration: underline;"><strong>Publishing Page Layout using a Feature:</strong></span></p>
<p>This is the post on creating site columns, publishing content types and page layouts using features:</p>
<p>This post describes how to create a publishing page layout and deploy it using a custom feature. Now that we have a custom publishing site columns as well as custom publishing content types defined using a feature, the next step is to create the page layout.</p>
<p>Publishing page layouts map to the custom fields of a publishing content type. The files are placed in the Master page gallery (Site Actions &gt; Site Settings &gt; Modify All Settings &gt; Galleries section &gt; Master pages and page layouts).</p>
<p><strong>Creating the page layout:</strong></p>
<p>The page layout can be created by using Visual Studio 2005. It&#8217;s really an .ASPX page and some basic Intellisense works for the SharePointWebControls and PublishingWebControls.</p>
<p>If you need information on how to create your custom page layout there is a very good article on MSDN:</p>
<p><a title="Customizing and Branding Web Content Management-Enabled SharePoint Sites (Part 1 of 3): Understanding Web Content Management and the Default Features." href="http://msdn2.microsoft.com/en-us/library/aa830818.aspx" target="_blank"> Customizing and Branding Web Content Management-Enabled SharePoint Sites (Part 1 of 3): Understanding Web Content Management and the Default Features.</a></p>
<p>Important to remember here is that you are dependant from the Master Page that will be used together with your page layout. In this article I&#8217;m using the default Blue Bland one; so all the default Content placeholders are available.</p>
<p>Snippet of the page layout (download all the files from the link at the bottom of the post):</p>
<p><a href="http://www.offshoresoftwaredevelopmentindia.com/blog/wp-content/uploads/2009/07/publishing_pagelayout_feature.jpg"><img class="alignnone size-medium wp-image-149" title="Publishing Page layout Usinf Feature" src="http://www.offshoresoftwaredevelopmentindia.com/blog/wp-content/uploads/2009/07/publishing_pagelayout_feature-300x272.jpg" alt="Publishing Page layout Usinf Feature" width="300" height="272" /></a></p>
<p>Tip: to quickly create and test a page layout for my custom content types I sometimes use SharePoint Designer 2007 (SDP). Create the page layout by choosing &#8220;New &gt; Page Layout&#8221; in the Master pages gallery. Be sure to choose your custom page layout:</p>
<p><a href="http://www.offshoresoftwaredevelopmentindia.com/blog/wp-content/uploads/2009/07/publishing_new_pagelayout.jpg"><img class="alignnone size-medium wp-image-150" title="Publishing New PageLayout" src="http://www.offshoresoftwaredevelopmentindia.com/blog/wp-content/uploads/2009/07/publishing_new_pagelayout-300x260.jpg" alt="Publishing New PageLayout" width="300" height="260" /></a></p>
<p>Then open the page using SharePoint Designer. Add your HTML and design elements and drag your custom properties to the page. HTML page design is really not my thing so this is an easy way to add some tables and layout to the page. Once you have the page ready in SPD, save the file, check in and test it by creating a new page.</p>
<p>You can now use the HTML and controls from this page when creating your custom page layout using Visual Studio.</p>
<p>Note that SPD saves the page directly into the SharePoint database and not on the hard drive. So this is just a fast way to start up the creation of your page layout but it does not allow you to deploy the page easily to other servers.</p>
<p><strong>Creating the provisioning xml schema:</strong></p>
<p>To provision the page layout and any used CSS, images or other files we create a XML file that will be picked up by the feature and install the files in the corresponding libraries in your publishing site.</p>
<p>In my example I have one custom page layout with just one image. I could as well have several images and CSS files installed using the same feature. I guess you get the idea with this image sample.</p>
<div style="background-color:#F8F8F8;; text-align:left">&lt;Elements xmlns=&#8221;http://schemas.microsoft.com/sharepoint/&#8221;&gt;</p>
<p style="padding-left: 30px;">&lt;Module Name=&#8221;ProductPageLayouts&#8221; Url=&#8221;_catalogs/masterpage&#8221; Path=&#8221;PageLayouts&#8221; RootWebOnly=&#8221;TRUE&#8221;&gt;</p>
<p style="padding-left: 30px;">&lt;File Url=&#8221;ProductDetail.aspx&#8221; Type=&#8221;GhostableInLibrary&#8221;&gt;<br />
&lt;Property Name=&#8221;Title&#8221; Value=&#8221;$Resources:pagelayout_product_name;&#8221; /&gt;<br />
&lt;Property Name=&#8221;MasterPageDescription&#8221; Value=&#8221;$Resources:pagelayout_product_description;&#8221; /&gt;<br />
&lt;Property Name=&#8221;ContentType&#8221; Value=&#8221;$Resources:cmscore,contenttype_pagelayout_name;&#8221; /&gt;<br />
&lt;Property Name=&#8221;PublishingPreviewImage&#8221; Value=&#8221;~SiteCollection/_catalogs/masterpage/$Resources:core,Culture;/Preview Images/DefaultPageLayout.png, ~SiteCollection/_catalogs/masterpage/$Resources:core,Culture;/Preview Images/DefaultPageLayout.png&#8221; /&gt;<br />
&lt;Property Name=&#8221;PublishingAssociatedContentType&#8221; Value=&#8221;;#$Resources:contenttype_productbase_name;;<br />
#0&#215;010100C568DB52D9D0A14D9B2FDCC96666E9F2007948130EC3DB0645<br />
84E219954237AF3900ADB88465BE2C439798977662094183BC;#&#8221;/&gt;<br />
&lt;/File&gt;</p>
<p style="padding-left: 30px;">&lt;/Module&gt;<br />
&lt;Module Name=&#8221;ProductLayoutImages&#8221; Url=&#8221;Style Library&#8221; Path=&#8221;Styles&#8221; RootWebOnly=&#8221;TRUE&#8221;&gt;<br />
&lt;File Url=&#8221;images/line.jpg&#8221; Name=&#8221;product/images/line.jpg&#8221; Type=&#8221;GhostableInLibrary&#8221; /&gt;<br />
&lt;/Module&gt;</p>
<p>&lt;/Elements&gt;</p>
</div>
<p>(Note: the value for PublishingAssociatedContentType above contains a break for HTML display reasons. You should put the value in one line).</p>
<p>I must say not much is available in the MSDN documentation about the schema for provisioning publishing pages. Like in other cases I looked at the PublishingLayouts feature delivered with the MOSS 2007 installation. This is a hidden feature that provisions the standard page layouts, master pages, etc for a MOSS Publishing site. You can find the feature here: C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\TEMPLATE\FEATURES\PublishingLayouts.</p>
<p>Some clarifications to the schema elements:</p>
<p><strong>&lt;Module&gt; element:</strong></p>
<p>&lt;Module Name=&#8221;[your module name]&#8221; Url=&#8221;virtual path destination of the module elements &#8221; Path=&#8221;path from within this feature&#8221;&gt;</p>
<p><strong>PublishingAssociatedContentType property:</strong></p>
<p>This property specifies to which the page layout you are installing is mapped to. The syntax is<br />
;#ContentTypeName;#ContentTypeID;#</p>
<p><strong>GhostableInLibrary:</strong></p>
<p>Every  element has the property Type=&#8221;GhostableInLibrary&#8221;. This property is important because it will install the file in the Master Page gallery, but the actual file content are still stored on the hard drive and not directly in the SharePoint database (as is the case if you create your page layout using SDP).</p>
<p><strong>Wrapping it up: creating the feature:</strong></p>
<p>I&#8217;m using one single feature to create my custom publishing fields, custom publishing content type and custom page layout(s).</p>
<p><strong>The feature now has the following structure:</strong></p>
<p>Three XML files are referenced by the feature schema in the order in which they should be installed.</p>
<ul>
<li>myfields.xml: this file defines all my custom site columns.</li>
</ul>
<ul>
<li>ProductContentTypes.xml: this file defines my two custom publishing content types and uses the custom field defined in myfields.xml.</li>
</ul>
<ul>
<li>PageProvisionedFiles.xml: this file contains the provisioning for page layout and associated image.</li>
</ul>
<p>I think the order in which these files are referenced in the feature schema are important because the site columns must be created before the content types, and the content types must be created before the page layout can reference it.</p>
<p>So, I have no proof that this really executes in the order defined in the feature schema but I do assume it is the case. Maybe someone has found some documentation on this?</p>
<div style="background-color:#F8F8F8;"><strong>Feature schema:</strong></p>
<p>&lt;?xml version=&#8221;1.0&#8243; encoding=&#8221;utf-8&#8243;?&gt;<br />
&lt;Feature Id=&#8221;787DCDC4-97F9-4f64-A771-D2A8B86DCADB&#8221;<br />
Title=&#8221;My publishing content type&#8221;<br />
Description=&#8221;$Resources:feature_description;&#8221;<br />
Version=&#8221;1.0.0.0&#8243;<br />
Scope=&#8221;Site&#8221;<br />
DefaultResourceFile=&#8221;_Res&#8221;<br />
Hidden=&#8221;FALSE&#8221;<br />
xmlns=&#8221;http://schemas.microsoft.com/sharepoint/&#8221;&gt;<br />
&lt;ActivationDependencies&gt;<br />
&lt;!&#8211; Add a dependency to the Publishing site&#8211;&gt;<br />
&lt;ActivationDependency FeatureId=&#8221;F6924D36-2FA8-4f0b-B16D-06B7250180FA&#8221; /&gt;<br />
&lt;/ActivationDependencies&gt;<br />
&lt;ElementManifests&gt;<br />
&lt;ElementManifest Location=&#8221;myfields.xml&#8221;/&gt;<br />
&lt;ElementManifest Location=&#8221;ProductContentTypes.xml&#8221;/&gt;<br />
&lt;ElementManifest Location=&#8221;PageProvisionedFiles.xml&#8221;/&gt;<br />
&lt;/ElementManifests&gt;<br />
&lt;/Feature&gt;</p>
</div>
<p>That&#8217;s it, the feature is complete.</p>
<p style="text-align: left;">All that needs to be done is copy the feature directory to &#8220;C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\TEMPLATE\FEATURES\MyContentTypeFeature&#8221; and run the install command.</p>
<p style="text-align: left;">stsadm -o installfeature -filename MyContentTypeFeature\feature.xml</p>
<p>This command can be used to install and test the feature. For a production environment I would recommend creating a SharePoint solution that installs the feature and all its files.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.offshoresoftwaredevelopmentindia.com/blog/2008/08/10/moss10-publishing-page-layout-using-a-feature-in-sharepoint-server-2007/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MOSS9 / Creating Publishing Content Types</title>
		<link>http://www.offshoresoftwaredevelopmentindia.com/blog/2008/07/10/moss9-creating-publishing-content-types-in-sharepoint-server-2007/</link>
		<comments>http://www.offshoresoftwaredevelopmentindia.com/blog/2008/07/10/moss9-creating-publishing-content-types-in-sharepoint-server-2007/#comments</comments>
		<pubDate>Thu, 10 Jul 2008 04:35:43 +0000</pubDate>
		<dc:creator>rupen</dc:creator>
				<category><![CDATA[.Net Development]]></category>
		<category><![CDATA[ASP.Net Frameworks]]></category>
		<category><![CDATA[C# Development]]></category>
		<category><![CDATA[Microsoft Project Server]]></category>
		<category><![CDATA[Microsoft SharePoint Server]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Learn SharePoint Server]]></category>
		<category><![CDATA[MOSS]]></category>
		<category><![CDATA[MOSS 2007 development]]></category>
		<category><![CDATA[MOSS Customization]]></category>
		<category><![CDATA[MOSS Design]]></category>
		<category><![CDATA[Publishing Content Type for MOSS]]></category>
		<category><![CDATA[SharePoint Administration]]></category>
		<category><![CDATA[SharePoint code]]></category>
		<category><![CDATA[Sharepoint Configuration]]></category>
		<category><![CDATA[sharepoint customization]]></category>
		<category><![CDATA[sharepoint experts]]></category>
		<category><![CDATA[Sharepoint Server]]></category>
		<category><![CDATA[sharepoint server 2007]]></category>

		<guid isPermaLink="false">http://www.offshoresoftwaredevelopmentindia.com/blog/?p=115</guid>
		<description><![CDATA[SharePoint team and Project server team at offshoresoftwaredevelopmentindia.com has great experience of creating web application based on MOSS 2007 and Project server 2007. That includes customization and development of webpart, site definitions, theme development, extension development, module creation. The team has developed CRM application, Job portal, Project management, to CMS applications based on MOSS 2007 [...]]]></description>
			<content:encoded><![CDATA[<p>SharePoint team and Project server team at offshoresoftwaredevelopmentindia.com has great experience of creating web application based on MOSS 2007 and Project server 2007. That includes customization and development of webpart, site definitions, theme development, extension development, module creation. The team has developed CRM application, Job portal, Project management, to CMS applications based on MOSS 2007 and project server 2007.</p>
<p>Team would like to share same experience. This can help who wanted to begin with the sharePoint development and Project Server development.</p>
<p>There are list of articles start with SP and from number 1 to &#8230;. Always start with the article SP1 and read next article to start working on MOSS easily and quickly.</p>
<p><strong><span style="text-decoration: underline;">How to Create Site Columns:</span></strong></p>
<p>Before going into detail on the creation of content types via features it is important to understand how Content type IDs work.</p>
<p>You should read the following MSDN page that explains about ContenTypes IDs and their inheritance based model: <a title="http://msdn2.microsoft.com/en-us/library/aa543822.aspx" href="http://msdn2.microsoft.com/en-us/library/aa543822.aspx" target="_blank">http://msdn2.microsoft.com/en-us/library/aa543822.aspx</a></p>
<p>Since this post shows how to create Publishing Content Types we need to find from which existing content type we want to base our own. I did some research on the features that are installed and activated when you use the Publishing site. In there we can see that the base content type from which we want to inherit is the &#8220;Page&#8221;. This Content Type has an ID of:</p>
<p><span style="color: #808000;"><strong>0&#215;010100C568DB52D9D0A14D9B2FDCC96666E9F2007948130EC3DB0<br />
64584E219954237AF39</strong></span></p>
<p>So in order to create our own ID we can add two hexadecimal values, or, we can add &#8220;00&#8243; followed by a GUID. I prefer this approach as it is unique and identifies custom content types more easily.</p>
<p><strong>So my content type ID can be:</strong></p>
<p><span style="color: #808000;"><strong>0&#215;010100C568DB52D9D0A14D9B2FDCC96666E9F20079481<br />
30EC3DB064584E219954237AF3900ADB88465BE2C439798977662094183BC</strong></span></p>
<p>The bold text is the Page content type ID to which I append &#8220;00&#8243; and a new GUID.</p>
<p><strong>Content Type Schema:</strong></p>
<p style="text-align: left;">Second important piece of information is the Content Type schema. I could not find any information specific to publishing content types on MSDN or the MOSS SDK. So again the solution is to use the available information together with some nosing in the publishing features installed by MOSS in the 12 hive. ContentType schema on MSDN: <a title="http://msdn2.microsoft.com/en-us/library/aa544268.aspx" href="http://msdn2.microsoft.com/en-us/library/aa544268.aspx" target="_blank">http://msdn2.microsoft.com/en-us/library/aa544268.aspx</a></p>
<p>In the following sample I&#8217;m creating two content types: a product content type and a hardware product content type. You will see that the hardware product content type inherits from the product content type by appending 00 + a new GUID to the ID.</p>
<div style="background-color:#F8F8F8;">
<p style="text-align: left;">&lt;Elements xmlns=&#8221;http://schemas.microsoft.com/sharepoint/&#8221;&gt;</p>
<p style="padding-left: 30px; text-align: left;">&lt;!&#8211; Product base content type &#8211;&gt;<br />
&lt;ContentType ID=&#8221;0&#215;010100C568DB52D9D0A14D9B2FDCC96666E9F2007<br />
948130EC3DB064584E219954237AF3900ADB88465BE2C43979<br />
8977662094183BC&#8221; Name=&#8221;$Resources:contenttype_productbase_name;&#8221; Description=&#8221;$Resources:contenttype_productbase_description;&#8221; Group=&#8221;$Resources:group_productcontenttypes;&#8221; Sealed=&#8221;FALSE&#8221; Version=&#8221;0&#8243;&gt;<br />
&lt;FieldRefs&gt;<br />
&lt;FieldRef ID=&#8221;{F44BFBB0-4725-4167-B976-F85F84131AA3}&#8221; Name=&#8221;ProductCategory&#8221; Required=&#8221;FALSE&#8221; /&gt;<br />
&lt;FieldRef ID=&#8221;{EB19D87C-5DEE-4a73-85E0-506293D422D9}&#8221; Name=&#8221;ProductName&#8221; Required=&#8221;TRUE&#8221; /&gt;<br />
&lt;FieldRef ID=&#8221;{D73843E5-0D9F-4400-BC75-1A4C2BD27900}&#8221; Name=&#8221;ProductIntro&#8221; Required=&#8221;TRUE&#8221; /&gt;<br />
&lt;FieldRef ID=&#8221;{894635F9-1DF8-46f1-BC47-46EFF09FEF3D}&#8221; Name=&#8221;ProductDescription&#8221; Required=&#8221;FALSE&#8221; /&gt;<br />
&lt;FieldRef ID=&#8221;{D89C9409-2A97-4a7a-81F5-7D45E7CD8D6B}&#8221; Name=&#8221;LaunchDate&#8221; Required=&#8221;TRUE&#8221; /&gt;<br />
&lt;FieldRef ID=&#8221;{6036ECDE-521A-4dbe-94B4-40E0E4EF7029}&#8221; Name=&#8221;ProductImage&#8221; Required=&#8221;FALSE&#8221; /&gt;<br />
&lt;FieldRef ID=&#8221;{F31DF817-D220-4449-BD6F-2F1B7C0823ED}&#8221; Name=&#8221;ProductPrice&#8221; Required=&#8221;TRUE&#8221; /&gt;<br />
&lt;/FieldRefs&gt;<br />
&lt;DocumentTemplate TargetName=&#8221;/_layouts/CreatePage.aspx&#8221; /&gt;<br />
&lt;/ContentType&gt;</p>
<p style="padding-left: 30px; text-align: left;">&lt;ContentType ID=&#8221;0&#215;010100C568DB52D9D0A14D9B2FDCC96666E9F2007948130EC3D<br />
B064584E219954237AF3900ADB88465BE2C439798977662094183BC00B2DE<br />
F3B02D274199BFF43C6D2F129D99&#8243; Name=&#8221;$Resources:contenttype_hardwareproduct_name;&#8221; Group=&#8221;$Resources:group_productcontenttypes;&#8221; Sealed=&#8221;FALSE&#8221; Version=&#8221;0&#8243;&gt;<br />
&lt;FieldRefs&gt;<br />
&lt;FieldRef ID=&#8221;{6A08E31A-0620-45df-BAC1-54A4D0FBFDCE}&#8221; Name=&#8221;ProductManual&#8221; /&gt;<br />
&lt;/FieldRefs&gt;<br />
&lt;DocumentTemplate TargetName=&#8221;/_layouts/CreatePage.aspx&#8221; /&gt;<br />
&lt;/ContentType&gt;</p>
<p style="text-align: left;">&lt;/Elements&gt;</p>
</div>
<p>Now we need to add this to the feature and install it together with what was done in part I of this series.</p>
<p>The complete feature can be downloaded <a title="here" href="http://www.katriendg.com/aboutdotnet/attachments/200703/MyContentTypeFeature.zip" target="_blank">here</a>.</p>
<p><strong>Refer:</strong></p>
<p><a title="http://www.katriendg.com/aboutdotnet/2007_4_2_publishing-content-types.aspx" href="http://www.katriendg.com/aboutdotnet/2007_4_2_publishing-content-types.aspx" target="_blank">http://www.katriendg.com/aboutdotnet/2007_4_2_publishing-content-types.aspx</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.offshoresoftwaredevelopmentindia.com/blog/2008/07/10/moss9-creating-publishing-content-types-in-sharepoint-server-2007/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

