C# Corner

Resources  
  • Handling Concurrency In ASP.NET Core 2.0 Web APIDec 15, 2017. We add a magic value to the response based on data we hold at the time. Usually ETag header is added for this purpose containing hashed value based on data/body of response.
  • 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.
  • 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).
  • 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).
  • 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 Find Duplicate Records In SharePoint ListDec 07, 2017. In this article, we will see how to detect duplicate records in SharePoint Lists. This automation approach will be helpful in scenarios where we need to fix data duplication issues across multiple SharePoint Lists.
  • DropDownList In ASP.NET MVCDec 06, 2017. In this article you will come know how to bind data and get dropdownlist selected value in Asp.Net MVC in Client Side and Server Side.
  • 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.
  • Chat Bot With Azure Authentication - Part TwoNov 27, 2017. In the previous part of the article series, we have completed initial setup such as app registration, Azure Active Directory Authentication and saving AccessToken to Bot State Service. In this part of the article, we will implement chat bot which will get the AccessToken from Bot State Service and make Azure service call.
  • Validation Tag Helpers In ASP.NET Core MVCNov 22, 2017. This article explains about the validation tag helpers found in ASP.NET Core MVC.
  • Implement DropDown MultiSelect Using Kendo UI MultiSelect In ASP.NET MVC5Nov 21, 2017. In this article, I am going to explain how to bind the value to a dropdown from the database, how to implement drop-down multi-select, how to group the drop-down values, and how to implement Custom Template using Kendo UI MultiSelect in ASP.Net MVC5.
  • Xamarin.Android - Text Recognition By Mobile CameraNov 20, 2017. Mobile Vision is an API which helps us to find objects in photos and video, using real-time on-device vision technology.
  • Simplest WPF Dependency Property For Beginners On Background ColorNov 19, 2017. Dependency property is not wrapped over any private members unlike CLR properties, and it is also stored in Key-Value pairs inside the DependencyObject host instance. You must use Dependency properties if you need to create and apply properties on custom usercontrols, or change properties based on external inputs like Theme, Style, animation etc, or while applying data binding or set with a resource (static/dynamic) .
  • Introducing Visual Studio Live ShareNov 18, 2017. With Visual Studio Live Share you and your teammates use the same debugging session. You can collaboratively step through code or set breakpoints which are reflected in your teammate’s editor in real time. Each of you can independently inspect objects, use features like tips on hover, locals and watches, or make changes to an object’s value. When you are ready to make a fix, simply edit the code and your teammates will see your edits in their editor.
  • Using Custom Document Template And Quick Parts To Get Column Values From SharePointNov 17, 2017. Quite often there is situation when user wants to save documents with metadata in SharePoint library and to accomplish this we can use document template, customize it and by using Quick parts in Microsoft office we can save Meta data in library and in Microsoft office documents.
  • Configure Application Insight For .NET Core 2.0Nov 16, 2017. We developers work hard to write code, but these QA guys find bugs in our code. We don’t have any choice but to find and fix the bug ASAP. After all this hard work we push everything to production, then new questions from people arise like why is this page slow? why is this operation taking time? why this and that? To answer these questions, we need proper logging mechanism to identify and takes hours of coding and analysis. What if we have a mechanism to track this with less hours of code to analyse and more time on fix. Application insights come to picture to solve our logging work with best analysis tools.
  • 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.
  • Different Ways Of Binding Razor DropdownList In ASP.NET MVC 5Nov 13, 2017. This article will demonstrate how to bind the values to Razor DropDownList in various ways using ASP.NET MVC5
  • 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.
  • Retrieve SharePoint Lookup Field Value Via C#Nov 07, 2017. Get and set a SharePoint Lookup Field via SSOM C#. In this article, I have explained how to get & set SharePoint lookup field (single/multiple) values programmatically via Server Side Object Model in C#.
  • Find The Installed SharePoint 2016 Edition Via C#Nov 06, 2017. Have you ever tried to detect the SharePoint Edition via C#? Regardless of the answer, detecting the SharePoint Edition via C# is not just a line of code as Build Number, to detect the SharePoint 2016 Edition, it will need to know the corresponding SKU.
  • MS Visual Studio Code - Guide To GitNov 06, 2017. Hello guys again, this is Muhammad Habib Jawady and today I will be showing you how to use MS visual Studio Code in order to work with git properly. This will be a hands on tutorial, I hope you will find this useful as the number of users of ‘Code’ has grown dramatically throughout the year and the need for a full tutorial on how to use it has became an urge to help people master its enormous number of features.
  • Debugging Tips - Part ThreeNov 06, 2017. While working on a complex code, we often come across situations where you need to debug lots of code to find/fix the issue(s). That also includes going through lots of methods (probably related or unrelated). .NetFramework provides a way to avoid unwanted "Step in" through the methods. Using DebuggerStepThrough (using System.Diagnostics) attribute, you can skip debugging of unwanted methods and reduce the debugging time to some extent.
  • Get Master Page Control Value In Content PageNov 05, 2017. Asp.Net Master page helps us to create a consistent view for the pages. Master page behaves like a container and parent page of Content page. In your application you can add numbers of Master page depending upon your project requirement and layout.
  • Binding DropDown List Using Tuple In ASP MVCNov 05, 2017. Tuple is a generic static class that was added to C# 4.0 and it can hold any amount of elements, and they can be any type we want. So using tuple, we can return multiple values.One great use of tuple might be returning multiple values from a method. It provides an alternative to "ref" or "out" if you have a method that needs to return multiple new objects as part of its response.
  • Performance - SortedDictionary Vs DictionaryOct 31, 2017. Recently when I was analyzing a clients code base for performance, I found that they were using the collection SortedDictionary in many places in their projects. After looking on how they are using this collection type, I discovered that they really only needed the collection sorted once. So I figured, that if would be better performance to use just Dictionary and sort it once. Before recommending this change to their code, I needed to prove my theory.
  • ASP.NET Core 2.0 MVC RazorOct 31, 2017. ASP.NET Core MVC middleware will find and execute the Razor template (.cshtml file) when the Controller returns ViewResult. Razor templates use syntax that combine C# and HTML to produce the final HTML page.
  • 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.
  • 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.
  • Getting Started With Azure Cosmos DBOct 29, 2017. Azure Cosmos DB is a globally distributed database service designed to enable you to elastically and independently scale throughput and storage across any number of geographical regions with a comprehensive SLA. You can develop document, key/value, or graph databases with Cosmos DB using a series of popular APIs and programming models.
  • Debugging Tips - Part OneOct 24, 2017. A cool attribute to save some debugging time is DebuggerTypeProxy (Namespace: System.Diagnostics). Using this attribute, you can write your own logic to interpret the object at debug time. Meaning, if you have a list of class objects then you can project on certain properties and force debugger to show the value off of this proxy class. This attribute is applicable to Structures, Classes and Assemblies.
  • Re-adding Accidentally-Deleted Status Reason Option- Quick TipOct 22, 2017. Have you been in a situation where you accidentally deleted status reason option from quote entity and now want to add it back as soon as possible?? If yes, then this article is going to help you.
  • Find And Replace Text In Word Document Using C#Oct 18, 2017. On Microsoft Word, we can find special text strings and replace them with new text strings easily. We can replace all the searched text automatically at one time and we can also only replace some of them from the searched results. This article will mention various approaches of the finding and replacing feature on the word document by using a .NET API Spire.Doc independently (without using any third-party code) as below.
  • Getting Started With SharePoint Framework For SharePoint 2016 On-PremisesOct 12, 2017. Once you have installed and upgraded the September 2017 Public Update for SharePoint 2016, you will be able to upload and deploy SharePoint Framework packages that contain web parts via the SharePoint App Catalog just as you would with SharePoint Add-ins.
  • 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.
  • Leadership Challenge 002 - What Is Your Coaching FitbitOct 07, 2017. Many people have embraced the "Fitbit" craze. The company has great marketing: “Fitbit tracks every part of your day—including activity, exercise, food, weight and sleep—to help you find your fit, stay motivated, and see how small steps make a big impact.”. People wear it daily, slapping it on their wrist the second they get out of bed…or even sleeping with it on.
  • Always Encrypted In SQL Server 2016 - Step By Step Guide - Part OneOct 06, 2017. Lets say, we have a requirement to encrypt the PII data for an existing ASP.NET web application. Data needs to be encrypted at rest as well as on transit. Considering the existing PROD data, we need to identify an encryption approach that best suits the requirement. I'm going to share my experience in finding the encryption approach and implementing it on a sample database.
  • TextBox Validation Client Side And Server Side In ASP.NET WebFormOct 03, 2017. Validation is main thing to process the data. We store the textbox value into database table. Before moving to storing and storing data into database first we check the value of each textbox.
  • Create Value Object In C#Sep 28, 2017. Create a class that abstracts away (encapsulate) ‘data’ in your domain and provide methods to work on it. Below is a class I don’t consider a good Value Object.
  • 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.
  • XAML Value Converter With A Simple ExampleSep 27, 2017. In this article, I'm going to show you how you can use value converter in XAML to convert one format of data into another format. In our case, we'll convert a string value (value in the textbox) to a Boolean value (checked status of a checkbox).
  • 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.
  • Xamarin.Forms Tip - Implement Show/Hide Password Using EffectsSep 19, 2017. While developing login pages, we usually get a requirement that there should be an icon in password entry to show/hide password while entering the password. While looking for a solution to this requirement, I found that most of the implementation is done using custom controls whereas we can do this kind of small platform-specific customization using effects. Last year, I wrote this article about implementing custom fonts using effects so I thought let's try this also using the same tecnique.
  • Learn Universal Windows Programming Via Modern C++ (Check Box)Sep 19, 2017. In the button control, we are using the IInspectable to set the content of the text. How do we get the value from the IInspectable interface ? By IPropertyValue; using the “as” operator, we can convert from IInspectable to IPropertyValue.
  • Dependency Injection - Part Six - Autofac's "AsImplementedInterfaces"Sep 11, 2017. While I was exploring Autofac, I found AsImplementedInterfaces quite interesting. Not only because it is useful, but also because if we are not careful with its use, we may end up with unexpected application behavior.
  • Getting Started With Bing Emotion APISep 08, 2017. In this tutorial, we will learn how to use Bing Emotion API. In our previous example of the cognitive service demo, we had combined two cognitive services, Bing Speech API and Bing Emotion API, so as to find images using speech to text (STT). To extend this demo, we will be using Bing Emotion API which will detect the emotions of a person from the image that we had searched using Bing Image Search API.
  • Find Out Creation And Modification Date Of Database Objects Like Tables And Stored ProceduresSep 07, 2017. Database Object refers to Table, Stored procedure, View, Function etc.; in other words, all the elements that are created for data storage and manipulation.
  • Manage Service Connections On Web Applications In SharePoint 2016 Central AdministrationAug 29, 2017. Here, you will find all the services attached to the selected web application on your Central Administration.
  • Create Office Web Add-In Project Using Visual StudioAug 24, 2017. In this article, I would like to share the steps to create Office web add-in projects using Visual Studio. In this article, we have explored what Office add-ins are and how to create Office web add-in projects using Visual Studio 2015.
  • Dynamic Menu Using Entity Framework And AngularJS In ASP.NET MVC Aug 23, 2017. The logic behind this is all main menus should have parentid = 0 and whatever ID column value of Main menu that ID value should be mentioned in parentid column of sub menu. Then the sub menu will appear for corresponding Main Menu.
  • 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.
  • Finding Your Geek ZenAug 17, 2017. If you are choosing to be a software engineer for your career, then do not forget to find your Geek Zen, which means taking care of YOU! This article will focus on things that I have come up with during my 20+ year software career. Things I sure wished I knew when I started my career. I focusing on stress since being a software engineer can be VERY stressful.
  • To Overcome "HTTP Error 404.3 Not Found" Error While Playing Videos In ASP.NET Aug 17, 2017. To Overcome “HTTP Error 404.3 - Not Found THE PAGE YOU ARE REQUESTING CANNOT BE SERVED BECAUSE OF THE EXTENSION CONFIGURATION. IF THE PAGE IS A SCRIPT, ADD A HANDLER. IF THE FILE SHOULD BE DOWNLOADED, ADD A MIME MAP.” Error.
  • Swift Programming - Zero To Hero - Part ThreeAug 17, 2017. Statements are the building blocks of any program. We can perform any function with the help of statements, such as checking values or declaring variables, calling methods, or even creating objects.
  • 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.
  • The Value Of Coaching And The Dangers Of TellingAug 15, 2017. I have led many global training sessions on leadership and coaching. I typically start by asking, “what is coaching?”. The responses of most people gravitate towards an answer consisting of making people better in some way. If you look up the word “coach” in the dictionary the first definition is “a large usually closed four-wheeled horse-drawn carriage having doors in the sides and an elevated seat in front for the driver”. People equate coaching to “moving forward” or “getting someone from point A to point B”.
  • Accessing XML Data From XML Document In C# Console ApplicationAug 09, 2017. In this article, I am going to give the best way to access XML data from XML document and also how to find common record node counts.
  • Implementing Equality In Value TypeAug 02, 2017. This post is to focus on implementing Equality in Value Types; i.e., overriding Equality behavior for our own implemented Value Types which is basically defining how to decide two object of a type are equal or not.
  • DataTable In Xamarin iOSJul 27, 2017. In this article, you will learn how to Store Values Using DataTable in Xamarin iOS, using Xamarin Studio.
  • 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.
  • Chat Bot With SharePoint Authentication - Part TwoJul 19, 2017. In the previous part of the article, we have completed the initial setup. In this part of the article, we will implement chat bot which will access data from SharePoint.
  • Office 365 / SharePoint Online - Connecting Office 365 / SharePoint Online Site Using CSOM (Client Object Model)Jul 19, 2017. In this article, I’ll explain detailed initial steps to connect Office 365 / SharePoint online using CSOM through console application.
  • BoxView In Xamarin Cross Platform With ExampleJul 17, 2017. The BoxView is a simple view, useful for drawing solid color rectangles. BoxView is a useful stand-in for images or custom elements when doing initial prototyping. BoxView has a default size request of 40x40. Used creates border property in page.
  • 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.
  • Python Program To Find All IPs Assigned In A NetworkJul 15, 2017. This is just a overview how you can create programs to find Network IP. You can do it in more interesting way by using raw_input to assign ip directly from user instead of writing it. Let me know if you need any help or if you are having problem in understanding.
  • 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.
  • JavaScript For Querying An Entity And Updating Attribute Values In FormJun 20, 2017. In this article, you will learn about JavaScript for querying an Entity and updating attribute values in form.
  • Get selected row column values in AngularJS-UI-Grid in MVCJun 12, 2017. In this article, you will learn how to get the selected row column values from angularjs-ui-grid using Web API and MVC.
  • Resolving "CEWP Not Visible In Web Part Gallery" Issue In SharePoint Online / Office 365May 30, 2017. In this article, I will share the solution for an issue, which we faced recently. The issue was on one of the pages of my SharePoint Online site. I want to add the Content Editor Web part but I couldn’t find it. Content Editor WebPart is not available in Web part gallery.
  • Filtering In UI-Grid With AngularJS And WebAPIMay 22, 2017. In this article, you will learn how to filter a UI-Grid data based on the columns and the given values.
  • Google Maps- Find Places, Restaurants Etc. With Animated Marker Using Bootstrap In ASP.NET MVCMay 19, 2017. Google Maps API allows you to display maps on your ASP.NET MVC Website.
  • 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.
  • Most Valued ProfessionalMay 15, 2017. This article presents my thoughts on getting MVP for the third time.
  • Implement Dropdown Multiselect With CheckboxList In MVC Using jQueryMay 04, 2017. In this article, we are going to see how to bind the value to dropdown and configure the multiselect checkboxlist with dropdown, using jQuery.
  • An Effective Way To Store Some Values In Database In ASP.NETMay 03, 2017. An Effective Way To Store Some Values In Database In ASP.NET.
  • To Get Multi-Select Values From Sub-Grid Within Entity Form From Plugin Using C#Apr 19, 2017. This article describes how to get sub grid values from the entity form.
  • Generate Backup And Script File In SQL Server 2014Apr 18, 2017. In this article, we going to see about how to generate database backup, create a script file without table value and with the value.
  • 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#.
  • Working With Value Tuple In C# 7.0Mar 21, 2017. This article explains about Value Tuple that was introduced in C# 7.0 and demonstrates how to use it in software development.
  • Dynamics CRM - Find Related Contact's Reference And Link It To Custom Entity Using JavaScriptMar 21, 2017. In this article, you will be acquainted with Dynamics CRM - find related contact's reference and link it to custom entity , using JavaScript.
  • Convert Numeric Value Into Words (Currency) In C#Mar 12, 2017. Convert Numeric Value Into Words (Currency) 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.
  • Getting Started With O365 - SharePoint-Hosted Add-Ins Using JSOMFeb 28, 2017. In this article, you will learn about SharePoint-hosted add-ins, using JSOM.
  • Deleting SharePoint-Hosted Add-In Using Napa Office 365 Development ToolFeb 23, 2017. In this article, you will learn how to delete SharePoint-Hosted Add-ins using Napa Office 365 Development Tool.
  • SharePoint-Hosted Add-In By Using NAPA Tools And Delete SharePoint Task List Item Using JSOMFeb 22, 2017. In this article, you will learn about SharePoint-hosted add-ins by using NAPA Tools and Delete SharePoint Task List item using JSOM.
  • Dapper CRUD Win Forms - Part OneFeb 20, 2017. Database management is often a performance bottleneck in many applications. I am currently developing custom modules for Dynamics GP 2013 and I have found Dapper. It is a simple and powerful solution for my needs. I hope it works for you too.
  • Equality Operator And Value Types In C#Jan 16, 2017. In this article, you will learn about Equality Operator (==) behavior for non-primitive value types.
  • 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.
  • Customizing SharePoint Framework Web Part Properties - Part FiveJan 08, 2017. In this article, you will learn how to bind the values dynamically to the dropdown field of the SharePoint framework web part properties pane.
  • 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.
  • Now You Can Find Your Lost Items Through Microsoft's HololensJan 02, 2017. In this article, you will learn about the new technology by Microsoft where you can find your lost items like keys, wallets, or any other belonging through its AR Headset.
  • 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.
  • Schedule Background Jobs Using Hangfire In ASP.NET CoreDec 15, 2016. Hangfire is an open source library to schedule and execute background jobs in .NET applications. This article is intended to demonstrate how to set up Hangfire and write some code to schedule an initial job in the ASP.NET Core project.
  • Iteration Of Repeater Using JavaScriptDec 15, 2016. In this article, you will learn how to iterate (loop) and get the total value of repeater field with the help of JavaScript.
  • 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.
  • Setting And Reading Values From "appsettings.json" In .NET Core Dec 03, 2016. In this article, you will learn about setting and reading the values from "Appsettings.json" in .NET Core.

About Finding-value-of-initial-parameter-in-servlet

NA
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!