Advance Sharp

Advance Sharp is derived by its users, provides articles on many languages for helping other users to learn new features and languages. We want to make it the first place for every programmer to learn new technologies by accepting articles from any experienced programmer who want to help other programmer.

We have articles on following topics

Most Viewed Articles

MVC DropDownListFor fill on selection change of another dropdown

Binding DropDownListFor from enum, database and some hard coded values in our previous article [MVC dropdown binding best ways][1]. In this article we will try to bind child Dropdown on selection change of parent Dropdown, say Country to State or Sate to City, by using jQuery which will call an action in controller and return JSON for selected id, and with the help of jQuery append values to... By   On

MVC insert update delete and select records

CRUD (Create, Retrieve, Update and Delete) in MVC. When we start to learn new language, first we try to run an application with “Hello World” and then CRUD functionality. So in this article we will see how to select records from database (with WebGrid, pagination and sort functionality), update a record, add new record and finally delete a record in ASP.Net MVC. Let’s create a simple table... By   On

Angular 2 Search and Sort with ngFor repeater with example

In angular 2 we don't have pre-defined filter and order by as it was with AngularJs, we need to create it for our requirements. It is time killing but we need to do it, (see [No FilterPipe or OrderByPipe][1]). In this article we are going to see how we can create filter called pipe in angular 2 and sorting feature called Order By. Let's use a simple dummy json data array for it. Here is the json... By   On

Search, sort, paging, insert, update and delete with ASP.Net MVC and bootstrap modal popup PART-1

Search, sort, paging, insert, update and delete with ASP.Net MVC and bootstrap modal popup and WebGrid to show records with search, sort and paging feature and in next article we will complete our article by adding insert, update and delete feature with bootstrap modal popup. We are going to use Entity Framework 6 code first model with a very simple table phone. Adding client side sorting and... By   On

Angularjs Cascading Dropdown/Select with demo

Cascading dropdown with angularjs is easier than MVC and ASP.Net. In Angularjs ng-change is the best event to hook the function to get the second dropdown list items. In this article, we will try to fill the state dropdown on selection change of country and then fill the city dropdown on change of state dropdown. We will fetch only those records from database which match the criteria rather... By   On

Angular 2 Dynamically Add & remove Components

Angular 2 gives full control to add or remove component in other component programmatically by simple steps. In this article we are going to see how to add, remove experience component to any other component, we will also try to pass some values to component from parent to child component to see if it is possible or not. It's better to write on plunker so we can test at anytime from... By   On

Search, sort, paging, insert, update and delete with ASP.Net MVC and bootstrap modal popup PART-2

To add insert, update and delete feature we are going to use bootstrap modal popup with a single JavaScript method to open any partial view as a modal popup and one method to post the data from modal, which can work for entire application. First we will add some code to our layout view to dynamically add the partial view in it and JavaScript file, then we will add code only one for add new... By   On

Angularjs Constant and enum with example

As we know the benefit of constant and enum in any other language, we need to it wherever need in our project. But angularjs does not have any enum concept, we will try to create some constants, object to achieve the same goal of enum easily with example. Luckily AngularJS provides a `constant` service type that can be used for static data that will not change and can be used throughout the... By   On

Interface in C# with real time example

In this article we will discuss about interface in C# with real time example, it properties, implementations and pros and cons as well. 1. An interface can never be instantiated e.g. ICar car = new ICar(); It’s wrong. 2. It only contains signature of its methods. 3. An interface has neither constructor nor fields. 4. It is also not permitted to have access modifier on its methods. 5. Its... By   On

MVC dropdown binding best ways

To Bind a DropDownListFor or DropDown in MVC from database, from enum or from hard coded values, most people suggest to add a property in the model with IEnumarable or IList. We can use it but not very helpful because after every postback we will need to fill the list again otherwise it will be null. So using ViewBag is not a bad idea, we will use it in our article. What we will see... By   On

New Articles

Mastering the Strike Off Company Procedure: Secrets Revealed

The procedure for **[strike off company][1]** typically involves the following steps: **Assessment of eligibility**: The first step in the strike off process is to determine if the company is eligible for strike off. This may involve checking that the company has ceased trading, has no assets or liabilities, and is not involved in any legal proceedings. **Preparation of documents**: Once... By   On

McDowall Integrative Psychology & Healthcare - Psychotherapists in Toronto

<p>Do you find it difficult to process life and find solutions to your problems? Perhaps it could be confronting your personal, professional life or even home life.</p> <p>Couples, families, and individuals can seek counselling at the McDowall Integrative Psychology &amp; Healthcare in Toronto for a range of difficulties.</p> <p>You could improve your position by consulting with a counsellor.... By   On

Food Delivery App Development Company - India App Developer

In the last few years, the food delivery business has been growing like there is no tomorrow, and we all know that Uber eats and Swiggy is a huge success. If you are an entrepreneur and looking to start a food delivery business, then hire dedicated developers from our [food delivery app development company][1]. We have great experience in delivering the right solutions to our customers. The... By   On

Experience excellence when you hire iQlance for your mobile app development services

There are billions of people who use smartphones, and it is growing each day. People spend half of their total screen time on phones. With the increasing usage of smartphones, mobile applications are in great demand. One of the major reasons app development companies are in huge demand. We at iQlance design, develop, and deliver innovation in applications. <br>Services we offer are: <br>**IOS... By   On

Microsoft announces end of .NET Core 2.1 Support From August 21-2021

Microsoft is ending the official support for .NET Core 2.1 from August 21, 2021 which means Microsoft will no longer be providing updates, security fixes and technical support for it beyond the announced date. Microsoft is strongly advising users to upgrade their Microsoft products and .NET Core applications to the supported successor version that is .NET Core 3.1 or .NET 5.0 to continue... By   On

Building Cross-Platform Web Applications Using .NET Core

*“For the first time in Microsoft .NET history, you can build cross-platform Web Apps and deploy them on Windows, Linux and Mac OSX devices.”* ASP.Net core is an open-source cross-platform framework that offers MVC structure, web API, and all the services needed to build a specific enterprise-grade web application. It is an emerging and feature-rich framework that offers speedy performance,... By   On

.Net Core - Banking, Finance & Insurance Web App development Solutions

This Blog brings out the synopsis of using dot net core technology to develop a banking/financial application. Along with this it also speaks about the future, benefits, importance, and features of .net core. We here will be talking about the Digital money with ASP.Net core technology and the below-mentioned topics that will help you in understanding the ASP.Net core for banking and finance... By   On

Hire Dedicated Resources – Web, Apps or Custom Software Development

After brainstorming and deep analysis 79% of big companies, enterprises, or businesses found 2 options to convert ideas into reality with the help of technology by building software, Robust mobile app development, customized website. First is, You can have your in-house team that includes Web designers, designers, Mobile application developers, Marketers, and Programmers. The con having of the... By   On

Angular 6 Group Items in Select

Show option group in Angular with select and align group items properly. There is nothing special to Angular if you already know the ngFor loop. You are just missing the HTML part `optgroup`. We are going to see some working examples by using JSON data to show, you can use any service or data from anywhere. First we will see some pure HTML examples with hard coded values so we can understand... By   On

ASP.Net Core MVC Global Error Handling & Logging in 5 minute

Catch every error in applicatoin and log either to a file or in database is a good idiea. But how to catch every error in application and show a proper error page or page not found page? We will try to see how easily we can acheive it and how to log error in a file by using the microsoft provided logger feature to log error in a text (.txt) file. If you will open the startup.cs file in any... By   On

Test driven development (TDD) through Mocking using Moq framework

I am going to demonstrate the use of a very popular mocking framework, Moq, to mock database calls. The example in the article is an Order Processing class, mimicking the order processing system. For the sake of simplicity, I am focusing on fetching an order from database (by order Id), adding 10% GST on the amount and then saving it back to database. public class OrderProcessing ... By   On

Angular 6 Web API 2 Bearer Token Authentication add to header with HttpInterceptor

Security is the main feature of any application, we will use in this article Web API 2 bearer token, created through Owin oAuth, which we created in our previous article. Pass Bearer token with every HttpRequest with the help of HttpInterceptor. In this article we will see only the authentication and guard the pages. We will implement refresh token in next article because might be you are here... By   On