ASP.Net, C#, SQL Server Information | |
| Running Asp.net Core Web Application and Web API project on Ubuntu Posted: 28 Mar 2017 03:34 AM PDT Step 1: Install .Net Core on Ubuntu using this link Step 2: On Terminal (Cntrl + Alt + T), go to /home/ directory. Create dir. i.e.: mkdir coredemo If you are new to ubuntu: /home/ directory is place where it is good to store user specific stuff. Step 3: If you are creating Asp.net Core web application, run command: dotnet web Asp.net web api, run command: dotnet api Step 4: dotnet |
| Efficient way of performing filtering, sorting and pagination with MongoDB C# Posted: 28 Mar 2017 02:46 AM PDT Problem: I run into issue where pagination was bringing almost all the rows from the collection and then doing pagination. In other words it is doing in memory pagination which is inefficient. Recommendation: In order to do MongoDB pagination: avoid using LINQ Query. Solution: With following way you can easily and efficiently do filtering, sorting and pagination on mongoDB collection. Below |
| You are subscribed to email updates from ASP.Net, C#, SQL, JQuery, Sharepoint. To stop receiving these emails, you may unsubscribe now. | Email delivery powered by Google |
| Google Inc., 1600 Amphitheatre Parkway, Mountain View, CA 94043, United States | |