C# Corner

Resources  
  • Web Services Using C# - Creating Web ServicesFeb 19, 2018. An XML Web service should be identified by a namespace that is controlled by its company. For example, a company's Internet domain name could be used as part of the namespace. Although many XML Web service namespaces look like URLs, they need not point to actual resources on the Web.
  • Building SPA Using AngularFeb 15, 2018. I have created SPA using Angular.js because I had requirement where user can update monthly activities corresponding to their respective villages. I named the application as Continuous Quality Improvement Tracker (CQI).
  • Stack, Heap, Value Type, And Reference Type In C#Feb 13, 2018. Now, let’s see what happens when we declare any variable like int a=10 in C#. When C# compiler will run, it will allocate a block of memory which will have name of variable i.e. a, its type i.e. int and its value i.e. 10. Now this memory can be of type Stack or Heap i.e. variable gets store in Stack or Heap.
  • Difference Among AngularJS, Angular 2, Angular 4 And Angular 5Feb 13, 2018. The first version of Angular released in the year of 2010. Some people calls this as AngularJS and some people call as Angular 1. But it is officially named as AngularJS.
  • Database Naming Standards For The ProgrammerFeb 09, 2018. Let us face it, in most companies that programmers work for, we end up doing database work. I do not agree with this since I think the DBA or BIA should handle database programming and we should stick to what we do best… coding. Would you want a DBA writing code? I think not. With that said, here are database naming standards that I use when in this situation. DBA’s might not agree with how database coders name databases; stored procedures etc. but we need something.
  • Using EasyCaching In ASP.NET Core - Part OneFeb 05, 2018. In this article, you will learn how to use an open source library named EasyCaching to handle caching in ASP.NET Core.
  • View Customization With JavaScript In Dynamics 365Jan 24, 2018. You need to write a JS function with 2 parameters, when you’ll add it to view, first parameters will recieve rowData(value with metadata shown below for one cell) and userLCID(i.e. language code fof current user). Based on those 2 inputs you can decide what icon to show. And name of this function goes in Function Name: field in View’s property.
  • JavaScript Powerful Property DescriptorsJan 21, 2018. We developers assume that an object’s property is only a container that can be assigned a name and a value. In actuality though, JavaScript gives us a series of powerful property descriptors that further shape how the property behaves. To demonstrate this, let's create a JavaScript object by using object literal.
  • New Parameter, Transpose, Reverse Rows And Extract In Power BIJan 20, 2018. In this article, you will learn about the New Parameter – What If in Power BI. You will also learn about the Transpose, Reverse Rows and Extract in Power BI.
  • C# 7.2 - "In" Parameter Method Overloading TiebreakerJan 14, 2018. This article explains the “in” parameter method overloading with Visual Studio 2017 Version 15.6. Preview 2.
  • Google Chart With ASP.NET Core And Visual Studio CodeJan 13, 2018. The Google Chart API lets you dynamically generate charts with a URL string and embed these charts on a web page, or download the image for local or offline use. The Google Chart Tools enable adding live charts to any web page. They provide advantages such as a rich gallery of visualizations provided as image charts and interactive charts and they can read live data from a variety of data sources. Users embed the data and formatting parameters in an HTTP request, and Google returns a PNG image of the chart. Many types of chart are supported, and by making the request into an image tag the chart can be included in a web page.
  • Voice 2 Text Android Application TutorialJan 06, 2018. Hello all, in this article we will learn how to create an Android Voice2Text App. So by the app name we can understand what we will be going to make. In this app Voice2Text, user voice will be converted into text and will be displayed in the input field. Voice2Text App does not need any internet connection it will work offline.
  • List Of Items In Query String From JavaScript And Fetch It In Code Behind In ASP.NETJan 02, 2018. When there is a situation where we have to pass more parameters and it exceeds browser character limit we can consider using JSON Array.
  • SharePoint 2013 - Different Ways To Enable User Information ListDec 22, 2017. You can find a great description of User Information List on MSDN, yet if I had to explain it in brief I would say it’s a list which stores the users and their information. The information of the users includes details like their Name, Email ID, Display Name, Login Name, Job Title, About User, and Department. Whenever a user is added to the site, he/she appears in the User Information List. The User Profile Services sync the user data into the User Information List from Active Directory.
  • Querying ConsmosDB Using SQL APIDec 19, 2017. Here, we can find the first name and number of pets from child entity but to find out the last name we need to refer to family entity. To select last name along with first name we need to use join operator In DocumentDB
  • Sorting In ASP.NET Core 2.0 Web APIDec 12, 2017. Sorting information is usually received via query parameters. The POCO SortingParams simply hold this information and passes to service (or repository).
  • C# 7.2 - In Parameter And PerformanceDec 12, 2017. In C# 7.2, “in parameter” has been introduced which allows passing read-only reference of a variable.
  • Paging In ASP.NET Core 2.0 Web APIDec 11, 2017. Paging information; i.e., page number and page size, is usually received via query parameters. The POCO PagingParams simply holds this information and passes it to service (or repository).
  • Hands-Free Security Scanning Within .NET ApplicationsDec 10, 2017. I'm sure if you follow any news sources at all, you see countless hacks, breaches, and leaks from various big-name companies which you might assume would be better at protecting your information. Now most of these incidents can probably be related to non-technical issues like social engineering, but not all of them.
  • Knowing When To Reflect With Caller Info AttributesDec 10, 2017. If you've been around C# long enough, you've probably had a need at one time or another to figure out some information about code that's being executed. It might be a method name, the file being executed, or even more specific details like the line number.
  • Filtering In ASP.NET Core 2.0 Web APIDec 10, 2017. Filtering information is usually received via query parameters. The POCO FilteringParamssimply hold this information and passes to service (or repository).
  • How To Delete Attachments Of SharePoint List Item Using Rest APIDec 05, 2017. I have created a custom list named “Attachments” in the host site and have added multiple items with attachments, now let’s say that we want to “Delete” the attachments on any particular item which we want.
  • Functions In KotlinDec 01, 2017. Function is a set of code which may take some parameters, perform an operation on it, and then may return a value.
  • Passing Parameters To Middleware In ASP.NET Core 2.0Nov 15, 2017. I discussed in an earlier post that it is good practice to define middleware in a separate class and add to the pipeline using extension methods. We may also need to pass information to our middleware classes though and I’ve come across two patterns for this when digging into ASP.NET Core source code and other samples online.
  • Using Optional Query Parameters With Microsoft Graph API - Part TwoNov 14, 2017. When you fire an API call to MS Graph, it will return the JSON result with all the properties. You may not need all the properties of a result set always. When you want MS Graph API to return only certain properties, then use $select parameter to specify which properties you want in result set.
  • Creating Azure WebJob To Access SharePoint Using Typescript And Node.jsNov 14, 2017. Create a new folder in the solution by the name 'src' and create index.ts file inside the folder. In this folder we will keep all the source files which will get executed when the Job runs. Remember to keep the index.ts at the root of the src and all other files (if any) keep them in the folder otherwise the job will fail.
  • Enums In C#Nov 09, 2017. Suppose we are creating a program in which we have to use multiple named constants of similar type and on the basis of a particular constant we have to perform some operation. So what we normally do is initialize each named constant with a value. This may require a lot of effort if the number of constants is large. Also the look and feel of the code is not up to the mark. Have a look at the below program to understand more. The program contains months of the year. We have to put lots of effort to assign each month to a value.
  • ASP.NET Core 2.0 MVC Layout PagesNov 02, 2017. Layout page is added to the Views/Shared folder and is named (as a convention) _Layout.cshtml. There can be more than one layout pages in your application too.
  • ASP.NET Core 2.0 MVC Model BindingOct 30, 2017. In a previous post on Routing, I showed how MVC maps URLs to Controller and actions to execute. We touched on the topic of the model binding mechanism through which MVC binds routing template tokens to action parameters.
  • Implementing Tiny Animated jQuery Chart Plugin With ASP.NET MVCOct 29, 2017. In this article we will go step by step to implement Jquery Chart Plugin. Plugin name is Tiny Animated Chart Plugin For jQuery - simple-chart.
  • Angular Pipes With ExamplesOct 29, 2017. The first parameter 'USD' is currency type which can be of INR, USD or any currency type in the world. The Second parameter 'true' is a Boolean indicating whether to display currency symbol or not .By default it is false and, if we change it to true then the symbol will be displayed.
  • How To Use ServerSide Processing With jQuery DatatableOct 29, 2017. Create one WebService to Getdata(Here I am using asp.net WebService to get data). You can see my Solution Explorer . I have two web pages and one service, and the name of the service is webService.asmx.
  • How To Return A Pair Of Closest Birthdates Using API, Multi Threading And MVC 5 Using C#.NETOct 18, 2017. This article demonstrates how to use multi-threading to return the name of 2 customers who have the closest birthdate. I also include how create API to add\ retrieve customer details from SQL database using tasks and how to use MVC to call and API to add a new customer.
  • Implementing Google Maps In Xamarin.Forms and Creating Custom Map For Tapping FunctionalityOct 17, 2017. Google map service is very popular in various enterprise level mobile applications. I will discuss here how to use Google maps in xamarin.forms and customize it using custom renderer for further functionality. So, let’s create a Xamarin.Forms project in Visual Studio under visual C# and cross platform and name it GoogleMapUsingXamarinForms.
  • C# 7.2 New Features With Visual Studio 2017Oct 16, 2017. This article explains the new features of C# 7.2. It covers ‘ref readonly’, ‘private protected’ access modifier, Digit Separator After Base Specifier (Leading Digit Separator) and Non-trailing named arguments.
  • C# 7.0 And C# 7.1 New Features - Part TwoOct 16, 2017. This article explains the new features of C# 7.0 & C#7.1. It covers new features like Discards, Pattern Matching, Generalized async return types, Async Main (Main Method returning Task), Infer Tuple Element Names, Default Literal Expressions & Type Inference and Pattern Matching with Generics.
  • React With Babel And WebpackOct 14, 2017. A relatively new Javasript standard, EcmaScript 6, is a deprecated name for the EcmaScript 2015 language specification. ES2015 is the 6th version of EcmaScript, thus it was previously referred to as ES6. For reasons best known to themselves, those responsible for defining the language standard renamed it to ES2015 with the final version of the v6 spec.
  • Using Optional Query Parameters With Microsoft Graph API - Part OneOct 12, 2017. While Microsoft already has all the documentation to cover all its technology, in this article I will try to explain these ODATA query parameters with some different angles and usage scenarios. I’m sure you will enjoy reading this article and learn something new.
  • Create New Record To SharePoint List Using Angular With Rest APIOct 04, 2017. In this article, I am going to explain how to create SharePoint list item using Angular js. This will help to create a new record for long SharePoint lists which contain 100+ fields since we no longer specify field names in this code.
  • Steps To Fix Project File Could Not Be Loaded Issue After Rename Project In ASP.NET MVCSep 29, 2017. I created one MVC application named "SatyaExportMVC". Then I will rename it Satyaprakash of Project name and Solution file name.
  • How To Create Blobs In Microsoft Azure Using C#Sep 29, 2017. This article is in continuation of a previous article - “Understanding Cloud Storage in Azure”, where we created a storage account and a Blob container with the name “images”.
  • Default(T) In GenericsSep 27, 2017. Default represents default value of T parameter in generics intructions. In several cases, the default keyword is an absolute unknown and we think it’s unnecessary or its functionality is null. There are many development moments with the generics classes where the default keyword can be useful.
  • Stored Procedure With Input And Output Parameter Using Entity Framework In ASP.NET MVCSep 23, 2017. In this article, we are going to learn how to get list and output value from a stored procedure using Entity Framework in ASP.NET MVC.
  • Store Photo In Backend Using Entity Framework In MVC Razor And BootstrapSep 21, 2017. Here i will show you image details will be shown along with user name. This one a sample exmaple of student management system In mvc and bootstrap.
  • Display And Sort A Slicer Control By Month Or Quarter Name In Power BISep 20, 2017. In this article, we will explain How to display and sort a Slicer control by Month or Quarter Name in Power BI?
  • Fetch User Details And Profile Picture From Person Or Group Field Using REST APISep 18, 2017. In one of my projects (on Office 365) I have a requirement to scroll key contacts of a project with the use's Full Name, Department, Job Title, Phone (Work/ Mobile) and Picture URL. Since all contacts are internal employees I don’t have to input user details, I just need a person and group field in a list to capture the user.
  • File Upload With JQuery Progress Bar In ASP MVCSep 14, 2017. First we have to create an Asp Mvc project in visual studio. To do that, Open Visual Studio -> New Project -> A new dialog window will appear -> In left pane select C# ->select Web -> Select "ASP.NET MVC 4 Application" name your project and click ok.
  • Getting Started With Azure Cosmos DB - Table APISep 08, 2017. The table is made up of one or more partitions. Partition Key and Row Key are suitable to optimize your solution. The account name, table name, and partitionkKey together identify the partition within the same storage service where your table service stores the entity.
  • More Details About Razor Pages In ASP.NET Core 2.0Aug 27, 2017. I built a simple web app to show you the new feature named Razor Pages in ASP.NET Core 2.0 . However it doesn't contain some useful and basic functions. So I decided to write one more article to show more details of Razor Pages.
  • Page Linking Tags And URL Parameters In Ruby On RailsAug 22, 2017. In this article will learn about creating HTML and ERB page linking tags and how to create URL parameters in Ruby on Rails templates.
  • Normal Equation Implementation From Scratch In PythonAug 19, 2017. Normal equation is a more closed-form solution of figuring out the value of a parameter that minimizes the cost function. It's called closed-form solution in the sense that it gives the result directly though the equation.
  • Using ERB Tags In Ruby On Rails Default HTML TemplatesAug 18, 2017. In this article, you will learn about the view templates, template file naming, ERB tags, and how to use ERB tags in HTML templates.
  • How To Create A Simple Approval App Using PowerApps And Flow In SharePoint OnlineAug 18, 2017. In this article, you will see how to create a simple approval app using PowerApps and Flow in SharePoint Online. Refer getting started with PowerApps and Flow for more details. I have created a custom list in SharePoint online named Change Request which contains the following columns.
  • Custom Model Binding In ASP.NET Core MVCAug 17, 2017. Model binding in MVC maps HTTP request data to the parameters of the controller's action method. The parameter may either be of simple type like integers, strings, double etc. or complex types. MVC binds the request data to the action parameter by parameter name.
  • ImageView In Xamarin Native Platform With ExampleJul 31, 2017. After the process completes, the Xamarin dashboard appears. At the top right, you will see Solution Explorer. There is your application solution.Select application name; extract to resources. The Layout folder appears in which there is Main.axml* file.
  • Fog Networks / Fog Computing - An OverviewJul 27, 2017. Like I mentioned in earlier posts, technology is evolving at a very fast pace, though this post will throw light on an up-coming technology, which is set to disrupt most of our networking/cloud compute environments. And the name is FOG
  • Component In Angular 2 and How to Create Nested Component in Angular 2Jul 25, 2017. In this article, we will learn about Angular 2 components and we will also see how to create a nested component.
  • Communication Site Overview In SharePoint Online - Part OneJul 22, 2017. Microsoft recently provided a huge update for SharePoint online customers to view the SharePoint sites in different level User Interfaces. This site template is named “Communication Site”
  • Selecting A Content Management System That Supports Your BusinessJul 17, 2017. Recently, a customer asked for a Content Management System (CMS), and being a SharePoint developer and consultant, I proposed SharePoint Server as CMS. Afterwards, by analyzing different CMS in the market, I thought of writing this article and will focus mainly on a CMS named – “Sitefinity” (http://www.sitefinity.com/).
  • Arithmetic Operation In ASP.NET MVCJul 16, 2017. In action result method I passed one string parameter named command and using this command I assigned some arithmetic operation string value and based on that the operation will be performed.
  • Best Practices For MVCJul 14, 2017. Add a class library project to the solution, named Store.Model. This library is where we ‘ll keep all of our domain objects. Entity Framework will count on them in order to build the database but we are not going to configure Code First using DataAnnotations attributes on this project. Instead, we are going to put all the Code First configuration in specific Configuration classes using the Fluent API. Add a folder named Models.
  • React Tutorials - Day Five - RouterJul 10, 2017. Today we learn about the routing in React, we learn how to setup routing configuration and also learn how routes work in React. If we want to create a single page application then we need the routing to redirect from one page to another and read the route parameters. To perform the routing in React we should have to install the “react-router-dom” packages.
  • Binding Dropdown List In Angular With ASP.NET Core Web APIJul 05, 2017. After selecting a project a new dialog will pop up with name “New Project” now from the left panel just select Templates inside Templates select Visual C# à The Web after that choosing it will show a list of Project Templates as shown in below dialog.
  • How To Create A Grid Dynamically Using AngularJun 30, 2017. Create a grid dynamically with angularjs without hardcoding column names. AngularJS provides various features. One of them is 2 way data binding. In this article I will explain how you can create a grid dynamically from Angular.
  • Retrieve User Details From Facebook In ASP.NET Core ApplicationsJun 30, 2017. In this article, we will learn how to retrieve user Details like Name, Profile Picture, Email, DOB and Gender after a successful Login with Facebook in ASP.NET Core Applications.
  • Deploying The Azure DNS Using Microsoft Azure PortalJun 28, 2017. An Azure DNS is used to host the DNS records for a particular domain and the Domain Name System, or DNS, is responsible for translating (or resolving) a website or service name to its IP address. Azure DNS is a hosting service for DNS domains, providing name resolution using Microsoft Azure infrastructure. By hosting your domains in Azure, you can manage your DNS records using the same credentials, APIs, tools, and billing as your other Azure services.
  • Overview Of Selenium LocatorsJun 26, 2017. This article explains Selenium Locators.
  • Display Your Name On Micro-Bit Using MicroPythonMay 22, 2017. In this tutorial, I will show you how to display your name and very basic symbols on micro: bit using MicroPython.
  • Dynamics CRM - Passing Dynamic Value As Parameter To Web Resource From Entity FormMay 19, 2017. This article describes about passing the dynamic values to the Web resource function as a parameter.
  • Software Testing!! BDD, AAA-Structure And Mocking For Unit TestingApr 16, 2017. In this article, you will learn about naming conventions, body structure and object mocking of the test method for unit testing.
  • WPF - Command LineApr 14, 2017. Command line argument is a mechanism, where a user can pass a set of parameters or the values to a WPF Application when it is executed.
  • Out Parameter In C# 7Apr 10, 2017. An overview of Out Parameter In C# 7.
  • Making Method Parameters Optional In C#Apr 06, 2017. In this article, you will learn about how to make method parameters optional in C#.
  • AngularJS 2.0 From The Beginning - Route Part Two - Day FourteenMar 10, 2017. In this article, we will discuss about how to pass parameters using routes and also nested routes.
  • How To Get Device Info (UDID, Model, Name, OS Version) In Xamarin iOS AppMar 02, 2017. In this article, you will learn how to get the device information (UDID, Model, name, OS version) in Xamarin iOS app, using Xamarin Studio.
  • Controlling The LCD Display By Using BlueTooth (HC05)Feb 23, 2017. In this article, I will explain about controlling the LCD display by using BlueTooth(HC05). It will control and display the name which we have set in our mobile phone.
  • Get Data From Multiple Tables Using Parameters While Combining LINQ ExpressionsJan 11, 2017. In this article, you will learn how to get data from mutliple tables using parameters when combining LINQ expressions in ASP.NET MVC 5.
  • Remove Duplicate Filter Values From SSRS Parameter Drop-DownJan 06, 2017. In this article, you will learn how to remove duplicate filter values from SSRS parameter drop-down.
  • Stored Procedure With Output Parameters In LINQ To SQL And What SQLMetal IsJan 02, 2017. In this article, you will learn how to call a stored procedure with output parameters using LINQ to SQL.
  • Invoking WebAPI Controller Action With Multiple Parameters In CORS Enabled Web ApplicationDec 08, 2016. In this article, you will learn how to invoke WebAPI Controller Action with Multiple Parameters in CORS Enabled Web Application.
  • Configuring A Custom Domain Name In Azure Web AppNov 18, 2016. In this article you will learn how to configure a custom domain in Windows Azure web application.
  • ASP.NET WebAPI Query String ParametersSep 29, 2016. In this article, you will learn about ASP.NET WebAPI query string parameters.
  • Custom Method Names In ASP.NET Web APISep 28, 2016. In this article, you will learn about custom method names in ASP.NET Web API.
  • AngularJS UI-Router Multiple Named ViewsSep 21, 2016. In this article, you will learn about AngularJS UI-Router multiple named Views.
  • Resolve "Specified Value Is Not Supported For The DomainName Parameter" Error in SharePoint ConfigurationSep 19, 2016. In this article, you will learn how to resolve “Specified value is not supported for the domainName parameter” error in SharePoint configuration.
  • AngularJS UI Router ParametersSep 16, 2016. In this article, you will learn about AngularJS UI-Router parameters.
  • AngularJS Optional URL ParametersSep 15, 2016. In this article, you will learn about AngularJS Optional URL Parameters.
  • Solution To The Issue, “Git Command Is Taking Wrong User Name”Sep 07, 2016. In this article, you will learn about the solution to the issue, “Git Command Is Taking Wrong User Name”.
  • Assemblies In .NET ApplicationAug 14, 2016. In this article, I am going to explain about assemblies in .NET. Also, we will see how we can create assembly with a strong name. This article will help you understand the assembly, deeply.
  • How To Change Subscription Name Of An Azure AccountAug 02, 2016. In this article, you will learn, how to change the name of a subscription.
  • Configure FTP And Use Custom Domain On Azure VMJul 11, 2016. In this article, you will learn how to access Azure using File Transfer Protocol and how to use your own domain name on your VM.
  • Add Table Names In Dropdown List With Entity Framework In ASP.NET MVCJul 02, 2016. In this article, you will learn how to add table names in a dropdown list with Entity Framework in ASP.NET MVC.
  • Resolve "Member Name Cannot Be the Same as Enclosing Type" ErrorJun 30, 2016. In this article we will see some cases of the error "member name cannot be the same as enclosing type" and then we will resolve it with examples.
  • Look At T4 Templates In Visual Studio 2015 - Part FourJun 23, 2016. In this article, you will learn about runtime/preprocessed templates and passing parameters in Visual Studio 2015.
  • Parameter Binding In ASP.NET Web APIJun 14, 2016. In this article, you will learn about parameter binding in ASP.NET Web API.
  • Regression Algorithms Parameters In Azure MLMay 07, 2016. In this article you will learn about Regression Algorithms parameters in Azure ML.
  • Name Property On WCF ContractsApr 25, 2016. In this article you will learn about Name property on WCF Contracts.
  • Classification Algorithms Parameters In Azure MLApr 25, 2016. In this article you will learn about Classification Algorithms parameters in Azure ML.
  • ASP.NET MVC 5: REST Web API Routing With Different NamesApr 25, 2016. In this article you will learn about REST Web API Routing with different names in ASP.NET MVC 5.
  • User Defined Table Types And Table Valued ParametersApr 20, 2016. In this article you will learn about User Defined Table Types and Table-Valued Parameters.

About Named-Parameters

NA
Web Development Outsourcing
Looking to add more bandwidth to your software team? Web Developers, designers, testers are now available on demand. Flexible hours, very competitive rates, expert team and High Quality work.