Friday, December 15, 2017

ASP. Net WebAPI With. Net Core & Micro Services

Join Me in GuruGram(Gurgaon) in IKeva to learn ASP. Net WebAPI With. Net Core & Micro Services Warm Regards Sachin Kal...

Tuesday, June 6, 2017

Can't bind to 'ngFor' since it isn't a known property of 'li' The usage of *ngFor within the li or div element has changed .like an example given below states that #contact of contacts where #contact defines as local variable. <li *ngFor="#contact of contacts"></li> Instead of using #contact,kindly replace your code snippet with...
Can't bind to 'ngModel' since it isn't a known property of 'input' This error may occur at your end during the Angular2 development, specially during creation of two way binding using [(ngModel)] with your Input type. To fix this error kindly use the following in app.module.js and import the namespace like given below: import { FormsModule...

Thursday, May 4, 2017

.Net Core Sample applications with examples

Here is an attachment for .Net core application which has the following area’s and those implementation   .Net Core Sample applications with examples Regards Sachin Kal...

Thursday, April 27, 2017

mark or make job as durable in Quartz .net?

Mark or make job as durable in Quartz .net?   This is the code segment to mark Job as durable in case you are not trigging through ITrigger. public static ISchedulerFactory schedFact = new StdSchedulerFactory();         IScheduler sched = schedFact.GetScheduler(); IJobDetail jobEOD = JobBuilder.Create<Facilities>().WithIdentity("Facilities").StoreDurably(true).Build();...

Tuesday, April 25, 2017

Exclude controllers methods from docs or swagger

Exclude controllers methods from docs or swagger If you would like to ignore controller’s action method from documentation or swagger ,kindly out an annotation just above an action method.  [ApiExplorerSettings(IgnoreApi = true)] Than...

Tuesday, April 18, 2017

There was an error running the selected code generator dotnet -aspnet-generator: Resolution for this issue is as given below: Kindly put the following line of code into .csproj file if you have created the solution in Visual Studio 2017 under item group. Open .csproj file either in notepad or desired editor .paste the following line in ItemGroup...
Unable to resolve service for type 'Microsoft.Extensions.Configuration.IConfiguration' while attempting to activate Resolution: Put this line in Startup.cs file under Configuration Services Method to inject dependency as shown below: services.AddSingleton<IConfiguration>(Configuration); // This method gets called by the runtime. Use...

Monday, April 17, 2017

ASP.NET Core 1.0 ConfigurationBuilder().AddJsonFile(“appsettings.json”); not finding file Or "The configuration file 'appsettings.json' was not found and is not optional. The physical path is   "The configuration file 'appsettings.json' was not found and is not optional. The physical path is Resolution I was working on .net core for...

Tuesday, February 7, 2017

Problem Statement : Cannot launch program 'c:\Users\sachin.kalia\Documents\My Web Sites\duckType.ts'; setting the 'outFiles' attribute might help. There was a problem during the development of typescript application was shown above. It means after pressing F5 it doesn’t allow you to debug a program,In layman words there was a little confusion...

Sunday, February 5, 2017

TYPESCRIPT with VISUAL STUDIO CODE

TYPESCRIPT with VISUAL STUDIO CODE Code and PowerPoint Presentation you can download from here:  Sample Running Application Power Point Application Cheers .Net...

Sunday, January 8, 2017

Getting Started With TypeScript Using Visual Studio Code This is a fresh series of articles to learn Typescript from scratch, using Visual Studio code. Visual Studio Code is the new editor given by Microsoft, as it’s a very rich tool in comparison to sublime text, although this is my personal observation. There are certain prerequisites before you...