<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-15250493</id><updated>2011-12-02T10:45:35.939+02:00</updated><title type='text'>C# Orcas</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://csharporcas.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/15250493/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://csharporcas.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Amer Jamal</name><uri>http://www.blogger.com/profile/04018885074155048881</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>6</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-15250493.post-115030902403026816</id><published>2006-06-14T21:15:00.000+03:00</published><updated>2006-06-14T21:17:04.030+03:00</updated><title type='text'>Microsoft .Net Framework 3.0</title><content type='html'>&lt;span style="font-family:verdana;font-size:85%;"&gt;Vice President S. Somasegar describes the decision to rename WinFX to the .NET Framework 3.0. Now the WinFX technology you know has a name that identifies it for exactly what it is—the next version of the Microsoft developer framework&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Verdana;font-size:85%;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Verdana;font-size:85%;"&gt;for more information please follow this &lt;a href="http://blogs.msdn.com/somasegar/"&gt;link&lt;/a&gt;.&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/15250493-115030902403026816?l=csharporcas.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://csharporcas.blogspot.com/feeds/115030902403026816/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=15250493&amp;postID=115030902403026816' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/15250493/posts/default/115030902403026816'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/15250493/posts/default/115030902403026816'/><link rel='alternate' type='text/html' href='http://csharporcas.blogspot.com/2006/06/microsoft-net-framework-30.html' title='Microsoft .Net Framework 3.0'/><author><name>Amer Jamal</name><uri>http://www.blogger.com/profile/04018885074155048881</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-15250493.post-115030878325130427</id><published>2006-06-14T20:25:00.000+03:00</published><updated>2006-06-14T21:13:03.303+03:00</updated><title type='text'>VSTS Database Professional</title><content type='html'>&lt;span style="font-family:verdana;font-size:85%;"&gt;New Version of Visual Studio Team System is alive now...&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;&lt;strong&gt;Visual Studio Team Edition for Database Professionals.&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Verdana;font-size:85%;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;You can find out more about it and get access to early community technology previews&lt;/span&gt; &lt;span style="font-family:verdana;font-size:85%;"&gt;&lt;a href="http://msdn.microsoft.com/vstudio/teamsystem/dbpro/"&gt;here&lt;/a&gt;.&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/15250493-115030878325130427?l=csharporcas.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://csharporcas.blogspot.com/feeds/115030878325130427/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=15250493&amp;postID=115030878325130427' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/15250493/posts/default/115030878325130427'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/15250493/posts/default/115030878325130427'/><link rel='alternate' type='text/html' href='http://csharporcas.blogspot.com/2006/06/vsts-database-professional.html' title='VSTS Database Professional'/><author><name>Amer Jamal</name><uri>http://www.blogger.com/profile/04018885074155048881</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-15250493.post-115010877253152428</id><published>2006-06-12T13:17:00.000+03:00</published><updated>2006-06-14T20:02:57.056+03:00</updated><title type='text'>Provider Pattern (Overview)</title><content type='html'>Provider Pattern&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;&lt;span style="font-size:85%;"&gt;A provider is simply a contract between an API and the Business Logic/Data Abstraction Layer. A provider implementation must derive from an abstract base class, which is used to define a contract for a particular feature&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;strong&gt;&lt;u&gt;Common Behaviors/Characteristics:&lt;/u&gt;&lt;/strong&gt;&lt;br /&gt;Below is a listing of characteristics common to providers.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;&lt;span style="font-size:85%;"&gt;&lt;br /&gt;&lt;strong&gt;1. Base class&lt;/strong&gt;&lt;br /&gt;A base class should have as few methods and properties as possible. This is desirable to encourage developers to write providers.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;2. Threading&lt;/strong&gt;&lt;br /&gt;Providers should be free-threaded/thread safe, with one instance per application domain. Any provider-specific objects created more frequently (for example, one per request) should be created through provider APIs.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;3. Factory methods&lt;/strong&gt;&lt;br /&gt;The abstract base class should support factory methods to create new objects wherever appropriate.&lt;br /&gt;&lt;br /&gt;If a feature allows a provider to create a framework object, but does not allow the provider to extend the object, the framework class should be sealed.&lt;br /&gt;&lt;br /&gt;Complex objects created by a provider may keep track of the provider that created it, and expose it as a &lt;strong&gt;Provider&lt;/strong&gt; property. This allows users of the feature to determine the provider that owns the data for the object. For example, when a new user is created with the Membership API, it may be useful for the developer to be aware of the provider that data for the object is stored in.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;4. Class naming and namespaces&lt;/strong&gt;&lt;br /&gt;The specific provider base classes should be named [Feature]ProviderBase.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;5. Common naming patterns for provider classes&lt;/strong&gt;&lt;br /&gt;Figure 5 below calls out some of the common names and casing that should be used for various data stores (where name is [Name][Feature]Provider).&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;&lt;span style="font-size:85%;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;&lt;span style="font-size:85%;"&gt;&lt;a href="http://photos1.blogger.com/blogger/684/1406/1600/PP.gif"&gt;&lt;img style="FLOAT: left; MARGIN: 0px 10px 10px 0px; CURSOR: hand" alt="" src="http://photos1.blogger.com/blogger/684/1406/320/PP.gif" border="0" /&gt;&lt;/a&gt; &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;&lt;span style="font-size:85%;"&gt;Refrence: &lt;a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnaspnet/html/asp02182004.asp"&gt;Provider Model Design Pattern and Specification, Part 1&lt;/a&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:verdana;"&gt;&lt;span style="font-size:85%;"&gt;&lt;p&gt;Sample Code &lt;a href="http://www.gotdotnet.com/Community/UserSamples/Download.aspx?SampleGuid=3276529C-20D3-4280-9C36-E78C1B9EE87C"&gt;HERE&lt;/a&gt;&lt;/p&gt;&lt;p&gt;Good Luck &amp;amp; happy programming.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/15250493-115010877253152428?l=csharporcas.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://csharporcas.blogspot.com/feeds/115010877253152428/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=15250493&amp;postID=115010877253152428' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/15250493/posts/default/115010877253152428'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/15250493/posts/default/115010877253152428'/><link rel='alternate' type='text/html' href='http://csharporcas.blogspot.com/2006/06/provider-pattern-overview.html' title='Provider Pattern (Overview)'/><author><name>Amer Jamal</name><uri>http://www.blogger.com/profile/04018885074155048881</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-15250493.post-114967987368338271</id><published>2006-06-07T14:27:00.000+03:00</published><updated>2006-06-14T08:40:51.976+03:00</updated><title type='text'>Master-Slave Replication Pattern</title><content type='html'>&lt;span style="font-family:verdana;font-size:85%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;&lt;strong&gt;Data Patterns (Master-Slave Replication Pattern)&lt;br /&gt;&lt;br /&gt;&lt;/strong&gt;As we know there is a punch of data patterns and today we are going to discuss one of them (Master-Slave Replication Pattern).&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Why do I need Master-Slave Replication Pattern?&lt;br /&gt;&lt;/strong&gt;You may need Master-Slave replication pattern if you have to synchronize data from the source to the target without transmitting back the data to the source (One-way synchronizing). This means the data will be copied to the target without regard to any updates occurred on the target since the last replication.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;The following figure shows the Master-Slave Replication.&lt;br /&gt;&lt;br /&gt;&lt;img style="DISPLAY: block; MARGIN: 0px auto 10px; CURSOR: hand; TEXT-ALIGN: center" alt="" src="http://photos1.blogger.com/blogger/684/1406/320/MSRP.jpg" border="0" /&gt;&lt;br /&gt;Acquire&lt;br /&gt;&lt;/strong&gt;Reads the content of the Replication Set (Data) from the source to get the ONLY the updated data.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Manipulate&lt;br /&gt;&lt;/strong&gt;Manipulating &amp;amp; preparing the Replication Set (Data) to be copy to the target. Usually this manipulation includes data type converting, concatenating and splitting fields (e.g. Extracting first name from a full name).&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Write&lt;br /&gt;&lt;/strong&gt;Writing the manipulated data (from the previous step) to the target. This operation either overwrites the data on the target, or compares the data with the manipulated data and copy the updated data only.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Reference:&lt;br /&gt;Microsoft Data Patterns&lt;/strong&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/15250493-114967987368338271?l=csharporcas.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://csharporcas.blogspot.com/feeds/114967987368338271/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=15250493&amp;postID=114967987368338271' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/15250493/posts/default/114967987368338271'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/15250493/posts/default/114967987368338271'/><link rel='alternate' type='text/html' href='http://csharporcas.blogspot.com/2006/06/master-slave-replication-pattern.html' title='Master-Slave Replication Pattern'/><author><name>Amer Jamal</name><uri>http://www.blogger.com/profile/04018885074155048881</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-15250493.post-114896337022554872</id><published>2006-05-30T07:29:00.000+03:00</published><updated>2006-05-30T07:39:04.866+03:00</updated><title type='text'>Master Page &amp; Find Control</title><content type='html'>&lt;span style="font-family:Courier New;font-size:85%;"&gt;&lt;span style="color:#3333ff;"&gt;this&lt;/span&gt;.FindControl("&lt;span style="color:#990000;"&gt;myControl&lt;/span&gt;");&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;font-size:85%;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;&lt;span style="font-size:85%;"&gt;I realy miss this sentence. Since I start using ASP.net 2.0 I’m not able to use it if try to get a control inside page that has master page, because I’ll get an error that says “Object reference not set to an instance of an object.” (did I see this error before? ;) , sure I did). This error occures because the control cannot be found!! Let me explain why:&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family:Courier New;font-size:85%;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;&lt;span style="font-size:85%;"&gt;When you apply a master page, that master page has a ContentPlaceHolder control, and your page has only an &amp;lt;asp:Content/&amp;gt; control. This Content control get stripped and discarded and never makes it to the final Page control structure. The contents of the Content control are merged into the ContentPlaceHolder. The result is that the page ends up with only 1 control in its Controls collection: a ContentPlaceHolder from the master page. (Thanks to Jeffrey Palermo for his &lt;a href="http://codebetter.com/blogs/jeffrey.palermo/archive/2004/09/01/23919.aspx"&gt;article&lt;/a&gt;)&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family:verdana;"&gt;&lt;span style="font-size:85%;"&gt;OK I get it. Now how can I reslove this issue???&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;The answer is by trying to search for your control inside the Form of the page. Check this out :&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;font-size:85%;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;font-size:85%;"&gt;&lt;span style="color:#3333ff;"&gt;this&lt;/span&gt;.Form.FindControl("&lt;span style="color:#990000;"&gt;myControl&lt;/span&gt;");&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;font-size:85%;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;Good Luck &amp;amp; Happy Programming.&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/15250493-114896337022554872?l=csharporcas.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://csharporcas.blogspot.com/feeds/114896337022554872/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=15250493&amp;postID=114896337022554872' title='12 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/15250493/posts/default/114896337022554872'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/15250493/posts/default/114896337022554872'/><link rel='alternate' type='text/html' href='http://csharporcas.blogspot.com/2006/05/master-page-find-control.html' title='Master Page &amp; Find Control'/><author><name>Amer Jamal</name><uri>http://www.blogger.com/profile/04018885074155048881</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>12</thr:total></entry><entry><id>tag:blogger.com,1999:blog-15250493.post-112991020564897802</id><published>2005-10-21T17:50:00.000+02:00</published><updated>2005-11-25T16:50:40.506+02:00</updated><title type='text'>C# Property Builder</title><content type='html'>After wasting a lot of time writing the properties for the business entities I decide to create a small application that saves my time for this issue.&lt;br /&gt;&lt;br /&gt;You may download the setup file by clicking &lt;a href="http://www.gotdotnet.com/codegallery/releases/checkfordownload.aspx?id=0a278d48-e4fe-45b6-81cd-dfcdcf8d1110&amp;ReleaseId=4cfa282b-0cc4-4dc6-b7cb-045f03f8d781"&gt;here&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Source code also available on &lt;a href="http://www.gotdotnet.com/codegallery/releases/checkForDownload.aspx?id=0a278d48-e4fe-45b6-81cd-dfcdcf8d1110&amp;amp;releaseid=246dd2ff-5193-4929-89d5-cc203bfb7601"&gt;here&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Good Luck&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/15250493-112991020564897802?l=csharporcas.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://csharporcas.blogspot.com/feeds/112991020564897802/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=15250493&amp;postID=112991020564897802' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/15250493/posts/default/112991020564897802'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/15250493/posts/default/112991020564897802'/><link rel='alternate' type='text/html' href='http://csharporcas.blogspot.com/2005/10/c-property-builder.html' title='C# Property Builder'/><author><name>Amer Jamal</name><uri>http://www.blogger.com/profile/04018885074155048881</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>
