Geeks With Blogs
Saqib Ullah BootStrapper Know How .Net
Never Before
This is my C# class and its compatible with all .Net framework versions. public class Person { // Fields private string _name; private int _age; private string _city; private string _company; // Properties public string Name { get { return _name; } set { _name = value; } } public int Age { get { return _age; } set { _age = value; } } public string City { get { return _city; } set { _city = value; } } public string Company { get { return _company; } set { _company = value; } } } From the last bit ......

Posted On Sunday, April 22, 2007 9:09 AM

ClickOnce Files
I my last blog of ClickOnce series we saw the complete cycle of the ClickOnce deployment and now in this blog we will see ClickOnce manifest and self updating of application. When publish finished it’s will create two XML files that we called manifest files and they are deployment manifest and an application manifest. One important point that I want mount is the manifest signing and this done by strong-name by using public/private keys and signed with Authenticode technology. Visual Studio 2005 only ......

Posted On Saturday, April 21, 2007 8:24 AM

ClickOnce Deployment
Yesterday I wrote simple Windows application on .Net 2.0, after the completion of development and little bit testing of application I deployed it’s on the user machine by using the new feature of .Net 2.0 called ClickOnce [that is only available in Microsoft .Net 2.0 frameworks and above version]. This is one of most impressive feature set of the .Net 2.0 for application deployment. At this moment don’t think that Windows Installer technology is gone, it is still present with strong arms in the Windows ......

Posted On Thursday, April 19, 2007 9:38 AM

Call assembly from partial trust code
In my last blog we saw the Web application trust levels, how we configure trust level from the application. Strong-named assemblies must be stored in the GAC (short of global assembly cache). By default, strong-named assemblies will not grant access to partially trusted code, because of the visibility of strong-named assemblies in the global assembly cache is high. What going on when partial trusted application call the Full trusted assembly. If the calling assembly marks with the APTCA (short of ......

Posted On Friday, April 13, 2007 4:01 PM

Web Application trust
Full trust By default, Web applications run with full trust. Full-trust applications are granted unrestricted code access permissions like calling unmanaged code, windows service, event logging, open database connection and Microsoft Messaging queues. When application trust level is set to “Full” it means that the web application only can’t access through the resource that is restricted by the operating system level-security. .Net framework allows us to configure the trust level at the machine and ......

Posted On Wednesday, April 11, 2007 12:03 PM

ORA-12154:TNS:could not resolve the connect identifier specified
The following exception is very common type of exception for .net developer and oracle user. ORA-12154:TNS:could not resolve the connect identifier specified Especially when you are using Oracle Data Provider for .Net and getting the above exception because of wrong connection string. So whenever you are using ODP you must following the connection string in the following pattern. string connString = "user id=*****;password=*****;data source=(DESCRIPTION=(ADDRES... IP Address or ......

Posted On Tuesday, March 13, 2012 10:51 PM

Configuration Section Designer Tool for Visual Studio
v\:* {behavior:url(#default#VML);} o\:* {behavior:url(#default#VML);} w\:* {behavior:url(#default#VML);} .shape {behavior:url(#default#VML);} Normal 0 false false false false EN-US X-NONE X-NONE /* Style Definitions */ table.MsoNormalTable {mso-style-name:"Table Normal"; mso-tstyle-rowband-size:0; mso-tstyle-colband-size:0; mso-style-noshow:yes; mso-style-priority:99; mso-style-parent:""; mso-padding-alt:0in 5.4pt 0in 5.4pt; mso-para-margin-top:0in; mso-para-margin-right:0in; mso-para-margin-bottom:10.0pt; ......

Posted On Friday, October 14, 2011 5:26 AM

System.Security.Cryptography.CryptographicException: Keyset does not exist or Access is denied issue.
This issue is related to permission on MachineKeys folder. I think this is right place where you should know what the determination of MachineKeys folder is. What is MachineKeys Folder? The MachineKeys folder stores certificate pair keys for both the computer and users. Both Certificate services and Internet Explorer use this folder. Possible reasons for getting this error message in your application are, may be your application using a certificate or your application trying to access a private key. ......

Posted On Wednesday, October 12, 2011 6:56 AM

IIS 6 Metabase and IIS 6 Configuration Compatibility Issue
v\:* {behavior:url(#default#VML);} o\:* {behavior:url(#default#VML);} w\:* {behavior:url(#default#VML);} .shape {behavior:url(#default#VML);} Normal 0 false false false false EN-US X-NONE X-NONE /* Style Definitions */ table.MsoNormalTable {mso-style-name:"Table Normal"; mso-tstyle-rowband-size:0; mso-tstyle-colband-size:0; mso-style-noshow:yes; mso-style-priority:99; mso-style-parent:""; mso-padding-alt:0in 5.4pt 0in 5.4pt; mso-para-margin-top:0in; mso-para-margin-right:0in; mso-para-margin-bottom:10.0pt; ......

Posted On Tuesday, October 11, 2011 3:28 AM

Windows Phone 7 Application Lifecycle Events
/* Style Definitions */ table.MsoNormalTable {mso-style-name:"Table Normal"; mso-tstyle-rowband-size:0; mso-tstyle-colband-size:0; mso-style-noshow:yes; mso-style-priority:99; mso-style-qformat:yes; mso-style-parent:""; mso-padding-alt:0in 5.4pt 0in 5.4pt; mso-para-margin-top:0in; mso-para-margin-right:0in; mso-para-margin-bottom:10.0pt; mso-para-margin-left:0in; line-height:115%; mso-pagination:widow-orphan; font-size:11.0pt; font-family:"Calibri","sans... mso-ascii-font-family:Calibri; mso-ascii-theme-font:minor-... ......

Posted On Thursday, June 16, 2011 3:49 AM

Copyright © Saqib Ullah | Powered by: GeeksWithBlogs.net