RadenkoZec blog
One of the major differences between old and new .NET Core SignalR is that automatic reconnects are not supported. This means that you need explicitly open a new connection if you lost connection to the server. I managed to write my own implementation that do automatic reconnects on this new version of .NET Core 2 SignalR that works for me. ...
After release of JQuery Validation Plugin 1.9 hidden elements on form are ignored by default from validation. The problem is that you sometimes need a validation on these hidden fields. However there is a nice workaround. Make sure to put $.validator.setDefaults({ ignore: '' }); not inside $(document).ready This will force client side validation to...
In previous versions of ASP.NET MVC we have enable unobtrusive client side validation using JQuery in simple way by adding two keys in AppSettings of your config file: <configuration> <appSettings> <add key="ClientValidationEnabled" value="true" /> <add key="UnobtrusiveJavaScriptEnabled" value="true" /> </appSettings> </configuration> In...
If you want to use Aurelia framework inside ASP.NET 5 application you have a great tutorial from Scott Allen that will help you to jump start. When you finish configuring Aurelia app files to reside in wwwroot folder of your ASP.NET 5 application you can run Aurelia app easily by typing for example http://localhost:5000/index.html The problem is if...
If you need to use LocalDb for integration testing your database with EntityFramework or some other ORM this article can help. First, you will need to create .NET core class library project to hold your integration tests: After this you will need to set-up XUnit.net. Check my previous blog post to do that. After this create a folder named Data in...
Currently in Visual Studio 2015 CTP 6 MSTests are not supported to test ASP.NET vNext projects. If you create MSTest project you are unable to add a reference to the ASP.NET vNext project. Microsoft will enable support for MSTests for ASP.NET vNext in the next release of Visual Studio. Until then you can only write unit and integration tests using XUnit. First,...
Build your own newsfeed
Ready to give it a go?
Start a 14-day trial, no credit card required.