C# Corner

Resources  
  • Using Delegates to Choose Right FunctionApr 01, 2001. The need to call different class method based on some string passed to class is an old problem.
  • 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
  • Introduction to JScript.NETApr 09, 2001. We have been hearing the announcement from Microsoft right from PDC2000 that they have realsed new languages viz. C#, VB.NET and JScript.NET.This artice of mine is going to introduce to u JScript.NET.
  • Net DDE to DOTNET RemotingJul 02, 2001. This article travel through time to trace the genesis of Dot Net Remoting right from RPC to RMI till SOAP.
  • A Journey: From Binary to .NET ! ::Part 1Jul 12, 2001. Right now, everybody is discussing about .NET and its future in the near future.
  • Move Grid PuzzleAug 15, 2001. This is a console based application the user will be prompted for move such as L-Left, R-Right, U-Up, D-Down, E-Exit.
  • Super String in C#Aug 20, 2001. Today I realized that I miss those Visual Basic/Visual C++ type operators. You know the ones: Left, Mid, Right.
  • Validation Controls in Web Forms: Part IAug 24, 2001. Validation is one of the less talked about areas – often taken for granted.
  • Validation Controls in Web Forms: Part 2Aug 24, 2001. Validation is one of the less talked about areas – often taken for granted.
  • Mapping Objects to Relational DatabasesNov 01, 2001. The application generates C# Class files for each table in a relational database. I have used Mysql and ODBC.NET for this project. The application only supports MySQL right now.
  • Exocortex.DSP - A C# Complex Number and FFT LibraryApr 08, 2002. Shows how to convert an image from a spatial representation (i.e. picture on the left) to a frequency representation (picture on the right) using a 2D fast Fourier transform.
  • DataGrid Customization: Part-1Jun 25, 2002. In this article, I will discuss some DataGrid customization tips such as how to I get the name and index of the column headers and how do I find out if mouse click right click was on a column.
  • DataGrid Customization Part-II: Custom Sorting and DataGrid Column HidingAug 13, 2002. How to I get the name and index of the Column headers? How do I find out if mouse click right click was on a column
  • Double Buffer Drawing with DirectDraw: Part1Aug 15, 2002. Because we will be primary focusing on 2D game programming in the first articles, we will use the DirectX7 API which is perfect for its DirectDraw class and simplicity. Don’t worry for not having the right DLL because DirectX8 has full backward compatibility to DirectX7 and the COM object should already be available on your computer if you have DirectX 8 installed.
  • Pro Developer: Throwing Money Out the WindowDec 18, 2002. It's common knowledge among programmers that most of the ills of the software industry, and most particularly the companies where we work, could be solved by simply letting the technical people make the technical decisions. In fact, that sounds so obvious that you might be tempted to shake your head and wonder what planet I come from. Obviously, since this is so incredibly logical and sensible, it's a given that most companies leave management decisions to managers, and technical decisions to techies, right?
  • Querying COM+ through Web ServicesMar 12, 2003. The most COM+ common administrative tasks (creating a COM+ application, installing/deleting a component, setting a component attribute) can be accomplished manually with the Component Services administrative tool from Management Console.
  • Real Life SQL and .NET : SQL Subqueries: Part VIIJan 13, 2004. Welcome to the world of SQL and the huge, growing database technologies of today’s business all over the SQL world. By reading this article, we have begun accepting the knowledge that will soon be required for survival in today’s world of relational database and data management. Alas, for the reason that it is first necessary to provide a background of SQL and cover some preliminary concepts that we need to know, the majority of this article is text in paragraph format.
  • 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.
  • Report Generation in .NETFeb 27, 2004. Report generation is an integral part of enterprise application development. Choosing the right kind of report generation strategy decides the success of the application in terms of cost and performance. The white paper discusses some of the key factors that need to be considered when architecting reporting systems in .NET and C#.
  • Implementing Security Access Rights in ASP.NET ButtonMar 24, 2004. In Web based Application, each of the users have different privileges and access rights based on their roles. Each of these roles can have read or write access for different Web pages.
  • How to integrate Google searches into your applicationDec 06, 2004. Google has been able to turn the search business up-side-down within the last five years. Google provides a web service interface which allows you to integrate Google searches right into your application.
  • Sokoban Pro Game in C#Jan 21, 2005. Sokoban Pro is a modern version of the classic Sokoban puzzle game. The game rules are extremely simple, yet the game is very challenging and addictive. The rule of the game is to move all the boxes in the right places. You can only push a box, not pull.
  • 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.
  • Security Setting for ExcelJan 04, 2006. To run the excel report, security settings are required for excel application because while working with the excel application we are going to use some of the classes for manipulating the data inside the file. This article shows how to grant access or rights to those files.
  • Visual Guard for .NETJan 19, 2006. Novalys announces Visual Guard, which is aimed at setting up user’s profile and permissions for .net application (who is allowed to do what?). The tool easily integrates to any .net application and makes rights/permissions management easier thanks to its administrating console.
  • AJAX Repeater control Feb 19, 2006. AJAX has been in shadows for a decade now but it started buzzing right after the launch of the Google Earth. This article shows how to create an AJAX Repeater control with item, header, footer, alternative item, and seperator item templates using AJAX and ASP.NET.
  • Infragistics UltraWebNavigator Context Menu Integration with JavascriptSep 13, 2006. This article shows one of the difficult functionality of adding context Menu on Infragistics UltraWebGrid, in conjunction with mouse right click.
  • Creating a Context Menu on a DataGridView Mouse Click Jan 17, 2007. This article describes how to create a context menu when you mouse click on a DataGridView control in Windows Forms.
  • Multi-threaded Asynchronous Programming in C#... Getting started.May 12, 2007. Trying to build better solutions and growing as a developer has always been fun for me and I’m always looking for ways to build more scalability and robustness in the software I am writing. I had a revelation that I’ve been doing a lot of C# tweaking but not taking advantage of the core performance enhancements cooked right into C# and it all comes down to one thing: Asynchronous multi-threaded programming.
  • Authentication-Authorization / Windows built-in Role enumerationAug 07, 2007. In this article I will be talking about authentication and authorization. Authentication is the process which uses users cridential to validate against system, where as Authorization is the process the authenticated user has rights to do some specific task.
  • DockPanel in SilverlightDec 05, 2008. The DockPanel control is a layout control that acts as a container for child controls. The DockPanel allows child controls to dock in left, right, top, or bottom sides of the panel.
  • Recruiting the right candidateMar 07, 2009. Every team member either contributes to or erodes the team’s success. No matter how experienced you are, the art of selecting the right person is more art than science.
  • Uploading Multiple Files in ASP.NET 2.0: Part IIMar 27, 2009. In ASP.NET 2.0, the FileUpload control enables the users to upload the files from your web pages. Here, I am going to show you, "how can you upload multiple file on a single button click in ASP.NET 2.0." Here, in the same article I am adding one more functionality, i.e. the user can get the right to upload any number of images by clicking on Add button.
  • The permissions granted to user are insufficient for performing this operation. (rsAccessDenied)May 12, 2009. You are unable to access the reporting site for our TFS project. You are able to view individual reports from VS, but you cannot get to the reporting site to edit them. Whenever you try to go to it (By right clicking on Reports->Show Report Site in Team Explorer), you get the SQL Server Reporting Services Error.
  • How to check someone else's checked out code into CVSJul 26, 2009. If you copied the source code you're working on, from another developer on your team and you you're trying to check it in, into CVS, and you can't, because CVS won't let you, this article is just the right solution to your problem.
  • Programmatically Swapping Mouse ButtonsSep 06, 2009. In this article we will learn how to swap mouse buttons programmatically - to make the left button acts as the right and vice versa.
  • Custom Context Menu in Silverlight 3Oct 10, 2009. In this article we will see how we can create our own context menu.
  • Silverlight 4.0 feature #1: Right click Mouse events [Context Menu]Nov 23, 2009. This article will give an introduction of mouse right click events on Silverlight controls. Silverlight 4.0 introduces context menu for all the controls.
  • Constructing a Rectangle Object in GDI+Jan 11, 2010. In this article I will explain about Constructing a Rectangle Object in GDI+.
  • The Contains Method and Hit Test in GDI+Jan 13, 2010. In this article I will explain about the Contains Method and Hit Test in GDI+.
  • Custom String Methods using C# Jan 27, 2010. In this article I will explain you about the Custom String Methods using C#.
  • Getting started with Silverlight ApplicationMar 03, 2010. In this article I have tried to give right starting point for Silverlight application development.
  • Mind Puzzle Game in C#Apr 12, 2010. This is a simple game written in C# in which user presses Up, Down, Left, Right arrow keys to play this game.
  • ASP.NET application and page life cycle Apr 19, 2010. In this article we will try to understand what are the different events which takes place right from the time the user sends a request, until the time request is rendered on the browser.
  • Right Click and Context Menu in Silverlight 4 May 09, 2010. In this article we will see how we can use Context Menu to be displayed on Right Click in Silverlight 4.
  • Right click event in Silverlight 4Jun 16, 2010. In this article you will learn how to use Right click event in Silverlight 4.
  • Basics of Data Communication: Part 8Aug 09, 2010. This article will explain, MAN, MAC, MAC Frame Format, LLC, LAN Systems, CSMA and CD, CSMA and CD Frame Format, Token Right, FDDI, Bridge etc.
  • How-to store FastReport.NET report templates in databaseAug 25, 2010. Some applications require the storing of report templates in a database. This simplifies template support - all reports are stored in one place, and allows to differentiate the access rights to different templates. I noted only one shortcoming of this technique - slight complication of the code in the client application.
  • Have you Questioned Yourself, Why my Browser is too Slow?Sep 17, 2010. To load the web page, your browser will traverse 11 sub systems or steps to display your web content :-) Interesting right !!! Let's see,
  • Develop .NET applications for Windows Phone 7, Windows Mobile, iPhone and AndroidOct 01, 2010. Mobile application development is a challenging task, but within a few years most developers will have to face it. Choosing the right developer platform can make the process a lot easier and faster.
  • Understanding and Using MVVM Light in Silverlight and Blend - Part INov 20, 2010. MVVM is an architecture that helps you design Silverlight apps right. If you want to simplify your move to MVVM then take a look at MVVM Light. This article is introduction to the MVVM Light Toolkit and how you can start to take advantage of its rich feature set
  • Disable Right Click using JQueryJan 18, 2011. In this article I am discussing how to write a simple script to disable right click on the page using JQuery.
  • Determine SharePoint 2010 Upgrade ApproachMar 17, 2011. Planning the right SharePoint 2010 upgrade approach suitable for your organization carries a lot of importance. Here we see pros and cons of each approach.
  • Context Menu in C#Apr 03, 2011. The ContextMenuStrip control provides functionality of context menus in Visual Studio 2010 and .NET 4.0. A context menu is also known as a popup menu. A context menu appears when you right click on a Form or on a control.
  • Validation of a String Using Trim OperationsApr 11, 2011. Trim function validation using three functions : I) Left Trim II) Right Trim III) Trim All.
  • Understanding Security Framework Model in ASP.NET 3.5Apr 28, 2011. Security is an important part of any web application development which is necessary to protect assets from unauthorized actions. This encapsulates verifying users, granting or denying access to sensitive information, or protecting data stored on the server.
  • Left and Right Join in SQL Server 2008Jun 01, 2011. In this article I will describe how to perform a left and right outer join between more than one tables in SQL Server 2008.
  • Use of BDO Tag in HTML5Jul 12, 2011. HTML5 has a BDO tag to override current directionality of text from right to left or left to right.
  • Set Space From Both Left And Right Side Using Blockquote Tag in HTML5Jul 13, 2011. The Blockquote tag set white space on both left and right side of document. It is mostly use for long quotation and it renders paragraph breaks.
  • Using Margins to Position Controls in FlowLayoutPanelAug 05, 2011. When controls are added to FlowLayoutPanel, say in TopDown flow direction without wrapping, width of the column in which controls are aligned incorporates left and right margin of each control.
  • Program files access rights Problem in Windows 7Oct 19, 2011. Here, we will see program files access rights Problem in Windows 7.
  • Setting folder full rights permission in Windows 7Oct 21, 2011. Often developers will be receiving access rights error while installing application in Windows 7 and Vista. The error message will be like “Access to the path is denied”.
  • Creating a Quiz Application in Expression BlendNov 02, 2011. In this article you will learn how to create a quiz application in which on button click, the user will know instantly the right or wrong answer.
  • MongoDB on Windows a Look in 5 MinuteJan 23, 2012. In this 5 minute article, we will do a quick start for MongoDB on Windows. I will show you the way to connect to a MongoDB Server and to start the administrative shell.
  • Preventing Right-Click on Web Page Using JQueryFeb 13, 2012. This article explains how to disable the right-click function using jQuery.
  • Custom Error Reporting in ASP.NET Using C# .NETFeb 15, 2012. The title sounds interesting, right? So, in this article we are going to discuss custom error reporting in an ASP.Net application.
  • Use of Applications and Snaps Applications in Windows 8Mar 18, 2012. In this article I will explain how to switch between Application or Snaps Application in Windows 8. If You are using a Metro UI and Desktop, then you are running multiple applications. A Metro application is very simple on the touch screen. You can swipe your finger in the left side or right side in the touch screen.
  • Start Memory Diagnostic Tool in Windows 8Jun 05, 2012. This article explains how to start the Memory Diagnostic Tool in Windows 8.
  • Add Opening Methods to the Context Menu For All Files in Windows 8Jul 07, 2012. In this article we are going to add an extra feature to open files in the Windows 8 Context Menu.
  • Use of BLOCK ARROW With Layout Property in Expression Blend 4Jul 20, 2012. We are going to see the use of Block Arrow Shapes of Expression Blend 4. Block arrow Shapes are divided into 4 parts; they are: Block Arrow Down, Block Arrow Left, Block Arrow Right and Block Arrow Up.
  • ASP.NET Life CycleAug 06, 2012. In this article we will explore various events which take place right from the time user sends a request, until he get the final rendered result.
  • Bit Right Shift Function in Excel 2013Sep 05, 2012. In this article we will discuss how to use the WorksheetFunction.Bitrshift Method in Excel 2013.
  • CSS Border Property in HTML: Part 2Oct 08, 2012. The CSS border properties allow you to specify the style and color of an element's border.
  • CSS Properties in HTMl : Level-2Oct 12, 2012. Today, we are going to discuss the CSS Properties with example.
  • Add Shutdown and Restart Options in the Windows 8 Context MenuOct 13, 2012. In this article we are going to explain how to add shutdown and restart options to the right-click context menu.
  • Edit Right-Click Context Menu in Windows 8Oct 19, 2012. In this article we are going to explain how to edit the right-click context menu in Windows 8.
  • Joins in SQL Server 2012Oct 30, 2012. In this article I described Joins in SQL Server 2012.
  • Scroll Text Using Timer in VB.NETNov 09, 2012. Here I will show you how to scroll text message in both the directions from left to right and from right to lef
  • A Journey - From Binary to .NET: Part INov 09, 2012. Right now, everybody is discussing about .NET and its future in the near future. Is this all stuff only for advance users (developers)? Well ! Nobody is worried about that because the final aim for everybody is, Do I know this? If yes then what's next?
  • Net DDE to .NET RemotingNov 10, 2012. This article travel through time to trace the genesis of Dot Net Remoting right from RPC to RMI till SOAP.
  • Querying COM+ using Web Services in VB.NETNov 10, 2012. The most COM+ common administrative tasks (creating a COM+ application, installing/deleting a component, setting a component attribute) can be accomplished manually with the Component Services administrative tool from Management Console. But there a few cases (installing the components or changing a component’s value on a regular basis) when it is necessary to have programmatic access to the COM+ applications, components and interfaces.
  • Grant and Revoke Command in SQL ServerNov 20, 2012. In this app I described Grant and Revoke Commands in SQL Server.
  • Removing the First and Last Character From a Table Column in SQL Server 2012Nov 23, 2012. In this article I provide a quick overview of the various Queries to remove the first and last character from a string in SQL Server.
  • Add Windows Defender to Context Menu in Windows 8Feb 25, 2013. In this article we explain how to add windows defender to right click context menu in windows 8
  • Facebook Page Like in ASP.NETFeb 26, 2013. This article is briefing how to use Facebook like feature in asp.net. This feature gives you right of liking a page and show total number of users who liked that app.
  • Android ViewPagerMar 01, 2013. ViewPager is a simple layout manager to mover through views using simple left and right swipes.
  • Method Not Allowed Error (HTTP 405) When Calling WCF Method From AjaxControlToolKit AutoCompleteExtenderMar 13, 2013. I originally posted this as a question on StackOverflow but my detailed account of troubleshooting the issue kind of "rubbed the moderators the wrong way" and they downgraded and closed my original post. I did however come up with an actual answer to this question which can be found at the bottom of this blog. Feel free to jump right to it if you're not really interested in all of the details.
  • MySQL Create User and Grant Privileges For PHP CodeMar 19, 2013. In this article I will explain how to create a user account for a MySQL database and how to give privileges to that user.
  • Adding a Number in String in SQL ServerMar 22, 2013. In this article I provide a quick overview of how to add a number in a string in SQL Server.
  • Using Right and Left Function in SQL ServerApr 01, 2013. In this article I provide a quick overview of how to use the right and left functions in SQL Server.
  • Customize the Tools Menu of Server Menager by Adding Shortcuts in Administrative ToolApr 19, 2013. In this you will learn how to customize the Tools Menu of the Server Menager by adding shortcuts in the Administrative Tools.
  • Configuring the System For Component Services by Setting Administrative SecurityApr 23, 2013. In this article we will discuss configuration of the system for Component Services by setting Administrative Security.
  • How to Provide Local Administrative Rights to the Domain UserMay 01, 2013. In today's article you will learn how to provide Local Administrative Rights to the Domain User.
  • SharePoint Permissions: Part 2 of 3May 07, 2013. In this article we can explore the Permissions tool bar items. Please note that this article is a part of an article series.
  • C# - Object Versus Var Versus DynamicJun 03, 2013. So right now in C# we have the Object class, and the var and dynamic types. At first look, they all seem to do the same job, but not really.
  • Installing the Active Directory Rights Management Services in Windows Server 2012Jul 09, 2013. In this Article you will learn about How to Install the Active Directory Rights Management Services in Windows Server 2012.
  • Add New Group in the Active Directory Administrative CenterJul 24, 2013. This article explains about how to add a new group in the Active Directory Administrative Center.
  • Add New User Through the Active Directory Administrative CenterJul 24, 2013. This article explains how to add a new user in the Active Directory Administrative Center.
  • Manage Multiple Domains in Active Directory Administrative CenterJul 24, 2013. This article explains how to manage multiple domains in the Active Directory Administrative Center.

About Grant-Administrative-Rights

NA

SPONSORED BY

Custom Software Development
MCN is your source for developing solutions involving websites, mobile apps, cloud-computing, databases, BI, back-end services and processes and client-server applications.
European SharePoint Conference