C# Corner

Resources  
  • Writing Secure Code using C#Apr 06, 2001. Code access security is a mechanism that grants/denies access to resources within a method call. For example, code written by a person may be allowed to write to the disk while code from another one may be forbidden from accessing the disk. This control can be enforced even if the code written by both of them is used within a single application
  • Understanding How Assert Effects SecurityApr 25, 2001. Assert is a security action that is evaluated at run time. Code Access Permission classes and Permission Sets support a method called Assert. Using the Assert method to control access to resources or actions will allow your code to perform actions that it normally has permission to perform and will allow other callers up stream in the call stack to have access that they would not normally have.
  • Wireless Model : How Does It Work?May 09, 2001. The browser sends an HTTP request to the Web server, which interprets the request and determines which resources to retrieve or execute. If the URL specifies a file, then the server sends it back.
  • Web services with Language InteroperabilityOct 18, 2001. A web service in general is a way of exposing the properties and methods through the Internet In other words, it's an URL-addressable resource that programmatically returns information to clients who want to use it.
  • Creating and Using ResourcesNov 16, 2001. In this article, I will give you a small example of how to add and use resources.
  • .NET Remoting: The Interface ApproachMar 26, 2002. .NET Remoting provides a powerful and high performance way of working with remote objects. Architecturally, .NET Remote objects are a perfect fit for accessing resources across the network without the overhead posed by SOAP based Web services. .NET Remoting is easier to use than Java's RMI, but definitely more difficult than creating a WebService. In this article, we will create a remote object, and access this object using the Interface.
  • .NET Remoting: The Simple ApproachMar 26, 2002. .NET Remoting provides a powerful and high performance way of working with remote objects. Architecturally, .NET Remote objects are a perfect fit for accessing resources across the network without the overhead posed by SOAP based Web services.
  • Multithreading Part 3: Thread SynchronizationApr 11, 2002. The .NET framework provides a number of classes and data types that you can use to control the access to shared resources. Thread synchronization refers to the act of shielding against multithreading issues such as data- races, deadlocks and starvation.
  • Understanding Garbage Collection in the .NET FrameworkAug 09, 2002. In this article we will explore the Garbage Collection feature in the .Net framework and the activities required in applications to manage resources complementing the Garbage Collector.
  • The "Using" Statement in C#Dec 11, 2002. The .Net Framework provides resource management for managed objects through the garbage collector - You do not have to explicitly allocate and release memory for managed objects.
  • Developing Secure Web Site with ASP.NET and IIS: PartIIMay 07, 2003. Authentication is a very important element of developing secure sites. It is the starting point of a secure environment for the protected resources. I have discussed several authentication mechanisms available in ASP.NET and how they join with IIS to provide a secure platform to develop sites in Part I of this article. I will be looking at Form Authentication and how to implement it in several sample web applications.
  • Developing Secure Web Site with ASP.NET and IIS - PartIIMay 07, 2003. Authentication is a very important element of developing secure sites. It is the starting point of a secure environment for the protected resources. I have discussed several authentication mechanisms available in ASP.NET and how they join with IIS to provide a secure platform to develop sites in Part I of this article.
  • Memory Management in .NETNov 17, 2003. This tutorial describes Memory Management in .NET.
  • Integrate Through Web Interfaces with C#Jan 08, 2004. This article proposes a way for integrating the enterprise applications through web interfaces. Since the web interfaces are widely available for many existing applications, the method may well reduce the cost of building an integration system with less time and get ride of the dependency on other resources.
  • Globalization in .NETJan 28, 2004. Now a day it is very difficult to think about building any application without globalization. If we are building an internet application, then it is very much required that our application supports all the languages with respect to the customer's locality.
  • Code Access SecurityFeb 06, 2004. Code Access Security represents a fundamentally different way of controlling access rights to protected resources. Traditionally, permissions such as access to the file system, databases or network were allocated based on characteristics of the user. All processes executed by the user would assume an equivalent set of permissions.
  • Multilingual Applications in .NETMar 24, 2004. This article explains the basic understanding on different methods of developing multilingual applications in .NET. Here emphasis is given on handling multiple languages using resource files.
  • Avoid Memory Leaks with Destructor and DisposeJul 01, 2004. Here are two classes that allocate resources, the first class needs to implement a custom destructor and standard Dispose, but the second class doesn't need either.
  • Getting Web Statistics for Instant Downloads in ASP.NETNov 05, 2004. One of the most important website activity parameters is the resource access statistic. Such information is necessary for many purposes - optimizing of the website content, marketing campaigns improvements and also for some diagnostic tests.
  • Multiuser XML 'Database' Web ServiceDec 01, 2004. This article shows multiple users to have simultaneous access to the document just like a database. The critical thing is how can we load a resource once and how can we have multiple users access it without collisions.
  • Performance Improvement in ASP.NET Using CachingFeb 01, 2005. ASP.NET provides caching at several levels for you to leverage and improve the responsiveness of your application by storing the page output or application data across HTTP requests and reuse it. This allows the web server to take advantage of processing the request without recreating the information and thus saving time and resources.
  • Globalization Using ASP.NET Apr 19, 2005. In this article we see how to cater different contents based on the culture using Globalization in ASP.NET.
  • Custom Assembly in Reporting ServicesJun 30, 2005. This article describes a problem that occurs when you access a custom assembly in your Reporting Services report that does not have sufficient permissions on the resources in your environment. The article also provides simple steps to grant permissions to the custom assemblies that are used in the reports.
  • How to Maintain a CodeGroup in Security Policy at Runtime?Jul 05, 2005. Whenever protected resources are accessed by an assembly, it’s permissions are determined by the code access security system of CLR. Each permission set granted to an assembly is based on the assembly's evidence (such as its URL or publisher certificate, strong name), which in turn is based on configurable security policy.
  • Globalization and Localization in .NET: Part IOct 01, 2005. In this first part of this two parts series, we will get started with globalization and localization in .NET.
  • How to Build Multi-Language Web Sites with ASP.NET 2.0 and VS.Net 2005Feb 06, 2006. In this article, we will explore the necessary details for working with resources in ASP.NET applications and for creating international ASP.NET applications based on embedded resources and the integrated localization support.
  • Using Dispose method in C#Feb 17, 2006. This artice will explain about Finalize and Dispose method implementation in C#.
  • Thread Synchronization using VS.NET 2005Feb 27, 2006. When two or more threads need access to a shared resource, they need some way to ensure that the resource will be used by only one thread at a time. The process by which this is achieved is called synchronization.
  • Customized Exception Handling Using Resource FileMar 03, 2006. A good exception handling should care about user as well as developer. i.e. developer can easily locate the exception entry point, may be a function or any where in a vast project, and fix it as soon as possible. So in this writing I tried some exception handlings which will consider both user and developer.
  • Illustrates the use of the lock in multithreading applicationAug 17, 2006. Any application must have one or more processes. A Process is structural unit with a memory block and using some set of resources. For each executable, the Windows operating system creates some isolated memory block. This article tries to explain the use of lock basics of Multithreading in C# .Net.
  • PDF Search in SharePointSep 11, 2006. This is a small article that tells users about the PDF search in SharePoint. I have not included the exact steps that need to be taken because that has already been published before on many sites including Microsoft's. My objective is tell users where to start looking for resources if they want to search PDF documents in SharePoint.
  • Embedding and Playing WAV Audio Files in a Win Forms ApplicationJan 18, 2007. This article describes an approach to embedding WAV audio files into an application and playing them through the use of the System.Media class library.
  • Integrated Security with Web Application Jan 30, 2007. This article will give you an idea about how Integrated Security works with Web Application using Active Directories.
  • Extending ASP.NET 2.0 Menu Control To Have Tabs With Rounded CornersFeb 26, 2007. The ASP.NET Menu Control normally produces tabs which have rectangular edges. The techniques presented extend the control to create tabs with rounded corners.
  • XML Data Binding in WPFApr 11, 2007. This article describes how to bind XML data using a data template in WPF and XAML. For ease of demonstration, the XML is defined as a resource within the XAML document.
  • WEB farm - Load Balancing in Asp.netJul 27, 2007. The concept behind the web farm is that a number of different web sites share pooled resources. They typically share a common front-end dispatcher to perform load control and distribute customer requests. They share the multiple web servers themselves.
  • Generate XML based Resource Files on the fly in ASP.NET 1.x applicationsSep 11, 2007. If internationalization was not part of your application’s initial development cycle, but required to extend it globally at a later point of time, then creating resource files from all the UI elements is a very tedious & manual process in ASP.NET 1.x. The framework presented in this article saves a developer from manually updating the resources and keeps the resx files in sync with the webforms and user-controls by automatically generating the resx files.
  • Chapter I: Resources and LocalizationFeb 01, 2008. In this chapter, you will learn all the necessary details for working with resources in ASP.NET applications and for creating international ASP.NET applications based on embedded resources and the integrated localization support.
  • Introduction to The Resources .resx and Resources Files: Part I May 05, 2008. In some cases an application needs some external resources to perform specified tasks. And I mean by external resources, those none executables data logically deployed with a given application.
  • Handle resource file - Add resources into a windows application using VS 2005: Part IIMay 13, 2008. In this article, I will show how to add resources to a windows application using tools provided by the Visual studio 2005 integrated development environment.
  • Handle resource files - Read and Write into a resx file programmatically: Part IIIMay 26, 2008. This is the third part of the resources handling where one can see how to create a resx file to stock data about our resources using code.
  • Handle resource files - read and write into a resource file programmatically: Part IVMay 29, 2008. In this article, I will give one way to create a resource format file used to stock data about our resources through code.
  • Handle resource files - Use resgen.exe to generate resources files: Part VJun 02, 2008. The resgen.exe is a wonderful tool provided by the .Net framework to generate resx, resources files. In this article I wil show the trick of how to use it in .Net.
  • Handle resource files - Generate a class with strongly typed properties from a resources file using resgen.exe: Part VIJun 10, 2008. Other functionality provided by the resgen.exe witch I appreciate a lot. This tool gives you the possibility to generate an entire class with strong typed properties.
  • Handle resource files - Generate a class with strong typed properties using StronglyTypedResourceBuilder: Part VIISep 03, 2008. You can generate a class with strongly typed properties issued from a given resources file elements or attributes using other way than in Part VI handle resource files where the resgen.exe is invoked to achieve such task.
  • The Two Interceptors: HttpModule and HttpHandlersDec 23, 2008. Many times we want to implement pre-processing logic before a request hits the IIS resources. For instance you would like to apply security mechanism, URL rewriting, filter something in the request, etc. ASP.NET has provided two types of interception HttpModule and HttpHandler.
  • Include Files as Resources in Silverlight 2.0Mar 13, 2009. This article describes how to load an embedded bitmap programmatically.
  • Project Management Schedule Management FAQ seriesApr 13, 2009. In this article we will run through a quick FAQ for schedule management of software projects.
  • Resource Management In Silverligt 3Jul 02, 2009. This article discusses resource management in Silverlight 3.
  • File handling in C#Jul 15, 2009. In this article I have explained about file handing in C#.
  • Resource Dictionary in Silverlight 3 Using Blend 3Jul 29, 2009. In this article we will see how we can manage Styles in different files. Resource Dictionary is a cool feature available in Blend 3, where we can store our defined styles.
  • Splash Screen in Silverlight 3 ApplicationJul 30, 2009. In this article we will see how the default Splash Screen can be changed in Silverlight 3 Application.
  • Resources in WPFAug 06, 2009. This article explains basics of resources in WPF.
  • Using Static Resource in Silverlight 3 ApplicationAug 18, 2009. This article shows how to use static resource in Silverlight 3.
  • Monitoring Database Connections using Performance CountersOct 14, 2009. ADO.NET performance counters can be used to monitor the status the connection resources that the application uses. This article concentrates mainly on monitoring database connections.
  • XML OverviewNov 14, 2009. In this article I will explain XML and how to write an XML code.
  • Genetic CloudJan 24, 2010. Complex optimization tasks, like travelling salesman problem, can be solved by simple algorithms with random searching component. Genetic algorithm is one of such approaches. It gives better solution on the big population sizes, but the execution time grows non-linear with population size growth. Another way to increase accuracy is to have several parallel runs. The additional resources for parallel runs could be taken in a Cloud.
  • Static Resources in Silverlight class libraryApr 26, 2010. In this article we will see how to have styles in Silverlight class library.
  • How to Use Resources in WPFJun 09, 2010. This article will show how to use resources in WPF.
  • Creating a Silverlight Application that inserts data to a database using WCF serviceAug 02, 2010. In this article, I have created a Silverlight application that asks users to enter choices & moves to specific pages depending on the choices. I have shown here how to use merged resource dictionaries. We can also see how to create controls dynamically. Finally, this application consumes a WCF service to store data in the database using LINQ to SQL.
  • Asp.Net Web Application Globalization and Localization with help of Resource files and Custom XML filesSep 07, 2010. In this article we will know how to devlope that type of web application. Let us see in this article how to cater different contents based on the culture using Globalization in ASP.NET.
  • How to use Tool Menu in Microsoft Expression BlendSep 15, 2010. Tool Menu in Microsoft Expression Blend has the option for Creating Layer, Make Button, Make Control, Make Image 3D, Make Brush Resource, Edit Brush Resource, Font Manager, Options.
  • Using StaticResources in WPFOct 26, 2010. Here I describe Resource markup extensions.
  • Accessing Bitmap Locally or Directly for Windows Phone 7 Application Nov 22, 2010. In a Silverlight program, you’ve seen that a bitmap added to the project as a resource is bound into the executable. It’s so customary to reference that local bitmap directly from XAML, SilverlightTapToLoad project shows you how.
  • Using statement in C#Nov 22, 2010. The using statement defines the scope of the object/resource.
  • Working with Attributes and Resources of XAML in Windows Phone 7 Nov 30, 2010. Many classes that you use in XAML have something called a ContentProperty attribute. This word “attribute” has different meanings in .NET and XML; here I’m talking about the .NET attribute, which refers to some additional information that is associated with a class or a member of that class.
  • How to publish Managed Metadata Service across Farms in SharePoint 2010 Dec 21, 2010. In Microsoft SharePoint Server 2010, some service applications can be shared across farms. By publishing a service application, you can optimize resources, avoid redundancy, and provide enterprise-wide services without installing a dedicated enterprise services farm.
  • Chapter 5: Consolidation and Monitoring in SQL ServerDec 22, 2010. The goal of SQL Server consolidation is to identify underutilized hardware and improve utilization by choosing an appropriate consolidation strategy. With SQL Server, hardware could be considered to be underutilized when workloads are using less than 30 percent of server resources.
  • Double Hope Issue in Sharepoint/Asp.net application with IIS Jan 09, 2011. There is a common issue called Double Hope issue in IIS that troubles most Sharepoint / Asp.net applications that consume the resource in other servers.
  • Layout and Controls in WPFJan 12, 2011. Half of the battle can be won through UI and Control placement in software paradigm. All of us know that a good UI leaves extraordinary impact on the user, so this article is about control placement and control layout in WPF. So this post is all about some basic controls and resource links for them.
  • Resource in Silverlight - Part 1 (Resource Files)May 07, 2011. Resources are a vital part for a web application and plays a major role while building Rich internet applications (RIA) using Silverlight. Silverlight does not have too many options to store and manage resources. In this article, we will discover the different options available to work and manage resources in Silverlight applications.
  • How to Implement Web Application Localization in .NET 4.0Jun 29, 2011. In this article, we will explore the necessary details for working with resources in ASP.NET applications and for creating international ASP.NET applications based on embedded resources and the integrated localization support.
  • The embed tag in HTML5Jul 29, 2011. The embed tag is used for embedding another resource or interactive content into the document.
  • Tangrams in WPFNov 07, 2011. In this article we will see how to use the WPF move and rotate concepts to implement a tangram game
  • Action Tags in JSP Nov 26, 2011. The JSP Action tags are set of some basic tags, such as inserting other page resources, forwarding the request to another page, creating and locating the JavaBeans instances, and setting and retrieving bean properties, in JSP pages.
  • Print in C#Dec 12, 2011. Here is a good list of resource related to printing in C# using GDI+.
  • URL (Uniform Resource Locator) RewritingDec 22, 2011. This article demonstrates the complete URL rewriting concept using regular expression and set up the predefined rules. The article also demonstrates the post back issues in ASP.NET while requesting to the virtual path.
  • ReaderWriterLock Class in C# ThreadingJan 07, 2012. The ReaderWriterLock class is used to synchronize access to a resource. At any given time, it allows concurrent read access to multiple (essentially unlimited) threads, or it allows write access for a single thread.
  • Create Cache Manifest Using HTML 5 ToolsJan 09, 2012. This is a simple application showing how to create an application cache using he HTML 5 tools. The application cache is used to store the static resources. The application cache is just like a browser used to run the offline application and this article also helps to show how to create a manifest file in your application.
  • ReaderWriterLockSlim Class in C# ThreadingJan 09, 2012. ReaderWriterLockSlim is used to protect a resource that is read by multiple threads and written to by one thread at a time.
  • Web Browser Task in Windows Phone 7 Via WCF ServiceJan 28, 2012. This articles shows implementation of one of the good concepts widely used on Windows Phone 7. This concept provides access to internet resources and browsing the way you want to.
  • How to Upload Files in JSPFeb 08, 2012. We can develop an application that shows how to upload files in JSP. This example consists of an HTML form, a JSP upload handler, a JSP processor for the uploaded files and another file containing resources.
  • Create a Theme in Windows Phone 7Apr 14, 2012. In this article we are showing the use of the themes in Windows Phone 7. Now in this article we have change a theme throw in property as well as also perform this functionality according to throw a static resources.
  • How to Localize Content Types in SharePoint 2010 Using Visual Studio 2010Jun 21, 2012. In this article you will be seeing how to localize content types in SharePoint 2010 using Visual Studio 2010.
  • Spring Tutorial: Chapter 4Aug 09, 2012. Another really useful feature from the Java Spring framework for performing some initialization tasks in your class before the instance of it is ready to be consumed or used by anyone and also cleanup the resources of that class when done using it.
  • Retrieve All Items From Resource FilesOct 23, 2012. While developing for the Windows 8 Platform, you'd like to use items in a resource file for a Windows store application. Here I'll show you how to get all the strings in a Resource file.
  • Working With Associated Function Libraries in QTP in TestingNov 06, 2012. In this article we discuss how to work with Associated Function Libraries
  • How to build Multi-Language Web Sites with ASP.NET 2.0 and VB.NET 2005Nov 10, 2012. In this article, we will explore the necessary details for working with resources in ASP.NET applications.
  • Understanding How Assert Effects Security in VB.NETNov 10, 2012. This article expalins about how asserts effect security in VB.NET. How you restrict access to your library modules and resources requires that you understand the pros and cons in the security process used.
  • COM Interoperability in VB.NET Part 3Nov 10, 2012. In this article I cover the area how to use a COM server in a .NET client. Existing COM components are precious resources to your managed applications. So now let us observe how you can build a .NET Client that uses a COM Server.
  • How to Install the File Server Resource Manager in Windows Server 2012Mar 06, 2013. In today's article you will learn how to install the File Server Resource Manager on Windows Server 2012.
  • Bitmap and Nine-Patch Drawable Resources in AndroidMar 28, 2013. Here I am sharing my experience of working with Drawable Resources in Android, Through this article you will learn to use Bitmap and Nine-Patch Drawable Resources which is the first two of ten Resources available in Android.
  • How to Assign Disk Quota to Particular User in Windows Server 2012 - Part 3Apr 02, 2013. In this article I will tell you how to create a quota through File Server Resource Manager.
  • Minesweeper in WPFApr 06, 2013. This article shows how to use different WPF features to build minesweeper game.
  • Reading WinRT Component Embedded Resource File in Javascript Windows Store AppsApr 17, 2013. In this article, I explain how to read a WinRT component embedded resource file from a JavaScript Windows Store app.
  • How to Add a Default File For Language Resource:Part 3May 06, 2013. This article describes how to add a default file for language resources.
  • Web Analytic Reports in SharePoint 2013May 14, 2013. In SharePoint 2010 Web Analytic reports give us some stats about resources used by the site collection that can be useful for site administrators and operators. In SharePoint 2013 Microsoft has replaced that with the Popularity Trends feature.
  • How to Configure the Access-Denied Assistance For UsersMay 23, 2013. In this article you will learn how to configure the Access-Denied Assistance for users.
  • How to Configure the Default Parameters For Storage ReportsMay 23, 2013. In this article you will learn how to configure the default parameters for Storage Reports.
  • Drag Drop Application Using Android StudioMay 26, 2013. Somewhere we played a game of dragging objects to an appropriate location. We will develop something like this with the same functionality.

About resources

NA

SPONSORED BY

File APIs for .NET
Aspose are the market leader of .NET APIs for file business formats – natively work with DOCX, XLSX, PPT, PDF, MSG, MPP, images formats and many more!
techbash 2016