Category Archives: .NET

WCF Bindings needed for HTTPS

> I just finished writing my first production WCF application, which worked very well until I deployed it to our production environment.  All of a sudden none of the WCF calls would work, and I would get a JavaScript “TestService … Continue reading

Posted in .NET, asp.net, configuration, WCF | Leave a comment

>How To: Prevent Cross-Site Scripting in ASP.NET

> Applies To ASP.NET version 1.1 ASP.NET version 2.0 Summary This How To shows how you can help protect your ASP.NET applications from cross-site scripting attacks by using proper input validation techniques and by encoding the output. It also describes … Continue reading

Posted in .NET, asp.net, javascript | Leave a comment

>COM Interop Exposed

>Introduction Microsoft realized that the very first version of .NET needed a way to work with the existing Windows technology used to develop applications over the past 8+ years: COM. With that in mind, Microsoft added support in the .NET … Continue reading

Posted in .NET, components | Leave a comment

Using the Gnu Privacy Guard (GnuPG/PGP) within ASP.NET [v1.0]

>   Environment: .NET, ASP.NET, C# Keywords: GnuPG, PGP, Cryptography, Thread, Process, Command Line Program GnuPG Wrapper This article presents GnuPGWrapper v1.0, a wrapper class for GnuPG.GnuPG stands for GNU Privacy Guard and is GNU’s tool for secure communication and … Continue reading

Posted in .NET | Leave a comment

>The why of strong name assemblies

>Before extolling the benefits of strong names, let’s begin with a definition. A strong name is made up of information used to identify an assembly and includes the assembly’s text name, four-part version number, culture information (if provided), a public … Continue reading

Posted in .NET, programming | Leave a comment

>Common Exception List

>System.AppDomainUnloadedExceptionSystem.ApplicationExceptionSystem.ArgumentExceptionSystem.ArgumentNullExceptionSystem.ArgumentOutOfRangeExceptionSystem.ArithmeticExceptionSystem.ArrayTypeMismatchExceptionSystem.BadImageFormatExceptionSystem.CannotUnloadAppDomainExceptionSystem.ComponentModel.Design.CheckoutExceptionSystem.ComponentModel.Design.Serialization.CodeDomSerializerExceptionSystem.ComponentModel.InvalidEnumArgumentExceptionSystem.ComponentModel.LicenseExceptionSystem.ComponentModel.WarningExceptionSystem.ComponentModel.Win32ExceptionSystem.Configuration.ConfigurationExceptionSystem.ContextMarshalExceptionSystem.Data.ConstraintExceptionSystem.Data.DataExceptionSystem.Data.DBConcurrencyExceptionSystem.Data.DeletedRowInaccessibleExceptionSystem.Data.DuplicateNameExceptionSystem.Data.EvaluateExceptionSystem.Data.ExprExceptionSystem.Data.InRowChangingEventExceptionSystem.Data.InvalidConstraintExceptionSystem.Data.InvalidExpressionExceptionSystem.Data.MissingPrimaryKeyExceptionSystem.Data.NoNullAllowedExceptionSystem.Data.Odbc.OdbcExceptionSystem.Data.OleDb.OleDbExceptionSystem.Data.ReadOnlyExceptionSystem.Data.RowNotInTableExceptionSystem.Data.SqlClient._ValueExceptionSystem.Data.SqlClient.SqlExceptionSystem.Data.SqlTypes.SqlNullValueExceptionSystem.Data.SqlTypes.SqlTruncateExceptionSystem.Data.SqlTypes.SqlTypeExceptionSystem.Data.StrongTypingExceptionSystem.Data.SyntaxErrorExceptionSystem.Data.TypedDataSetGeneratorExceptionSystem.Data.VersionNotFoundExceptionSystem.DivideByZeroExceptionSystem.DllNotFoundExceptionSystem.Drawing.Printing.InvalidPrinterExceptionSystem.DuplicateWaitObjectExceptionSystem.EntryPointNotFoundExceptionSystem.ExceptionSystem.ExecutionEngineExceptionSystem.FieldAccessExceptionSystem.FormatExceptionSystem.IndexOutOfRangeExceptionSystem.InvalidCastExceptionSystem.InvalidOperationExceptionSystem.InvalidProgramExceptionSystem.IO.DirectoryNotFoundExceptionSystem.IO.EndOfStreamExceptionSystem.IO.FileLoadExceptionSystem.IO.FileNotFoundExceptionSystem.IO.InternalBufferOverflowExceptionSystem.IO.IOExceptionSystem.IO.IsolatedStorage.IsolatedStorageExceptionSystem.IO.PathTooLongExceptionSystem.Management.ManagementExceptionSystem.MemberAccessExceptionSystem.Messaging.MessageQueueExceptionSystem.MethodAccessExceptionSystem.MissingFieldExceptionSystem.MissingMemberExceptionSystem.MissingMethodExceptionSystem.MulticastNotSupportedExceptionSystem.Net.CookieExceptionSystem.Net.ProtocolViolationExceptionSystem.Net.Sockets.SocketExceptionSystem.Net.WebExceptionSystem.NotFiniteNumberExceptionSystem.NotImplementedExceptionSystem.NotSupportedExceptionSystem.NullReferenceExceptionSystem.ObjectDisposedExceptionSystem.OutOfMemoryExceptionSystem.OverflowExceptionSystem.PlatformNotSupportedExceptionSystem.RankExceptionSystem.Reflection.AmbiguousMatchExceptionSystem.Reflection.CustomAttributeFormatExceptionSystem.Reflection.InvalidFilterCriteriaExceptionSystem.Reflection.ReflectionTypeLoadExceptionSystem.Reflection.TargetExceptionSystem.Reflection.TargetInvocationExceptionSystem.Reflection.TargetParameterCountExceptionSystem.Resources.MissingManifestResourceExceptionSystem.Runtime.InteropServices.COMExceptionSystem.Runtime.InteropServices.ExternalExceptionSystem.Runtime.InteropServices.InvalidComObjectExceptionSystem.Runtime.InteropServices.InvalidOleVariantTypeExceptionSystem.Runtime.InteropServices.MarshalDirectiveExceptionSystem.Runtime.InteropServices.SafeArrayRankMismatchExceptionSystem.Runtime.InteropServices.SafeArrayTypeMismatchExceptionSystem.Runtime.InteropServices.SEHExceptionSystem.Runtime.Remoting.MetadataServices.SUDSGeneratorExceptionSystem.Runtime.Remoting.MetadataServices.SUDSParserExceptionSystem.Runtime.Remoting.RemotingExceptionSystem.Runtime.Remoting.RemotingTimeoutExceptionSystem.Runtime.Remoting.ServerExceptionSystem.Runtime.Serialization.SerializationExceptionSystem.Security.Cryptography.CryptographicExceptionSystem.Security.Cryptography.CryptographicUnexpectedOperationExceptionSystem.Security.Policy.PolicyExceptionSystem.Security.SecurityExceptionSystem.Security.VerificationExceptionSystem.Security.XmlSyntaxExceptionSystem.ServiceProcess.TimeoutExceptionSystem.StackOverflowExceptionSystem.SystemExceptionSystem.Threading.SynchronizationLockExceptionSystem.Threading.ThreadAbortExceptionSystem.Threading.ThreadInterruptedExceptionSystem.Threading.ThreadStateExceptionSystem.Threading.ThreadStopExceptionSystem.TypeInitializationExceptionSystem.TypeLoadExceptionSystem.TypeUnloadedExceptionSystem.UnauthorizedAccessExceptionSystem.UriFormatExceptionSystem.Web.HttpApplication+CancelModuleExceptionSystem.Web.HttpCompileExceptionSystem.Web.HttpExceptionSystem.Web.HttpParseExceptionSystem.Web.HttpRequestValidationExceptionSystem.Web.HttpUnhandledExceptionSystem.Web.Services.Discovery.InvalidContentTypeExceptionSystem.Web.Services.Discovery.InvalidDocumentContentsExceptionSystem.Web.Services.Protocols.SoapExceptionSystem.Web.Services.Protocols.SoapHeaderExceptionSystem.Windows.Forms.AxHost+InvalidActiveXStateExceptionSystem.Xml.Schema.XmlSchemaExceptionSystem.Xml.XmlExceptionSystem.Xml.XPath.XPathExceptionSystem.Xml.Xsl.XsltCompileExceptionSystem.Xml.Xsl.XsltException

Posted in .NET, programming | Leave a comment

>Using Resources for Localization with ASP.NET 2.0

> To localize a Web application we can use resource files. There a three way of using resources in ASP.Net 2.0 to localize a web application. * Use ResourceManager to get a string programmatically * Use Implicit Localization * Use … Continue reading

Posted in .NET, asp.net, development_tutorial | Leave a comment