-
Blazor on the Server is coming with .NET Core Version 3.0 in the second half of 2019. Here's what Peter thinks of that (and he's not completely happy).
04/30/2019
-
Microsoft has some best practices around handling exceptions. With respect, Peter disagrees with their recommendation.
04/26/2019
-
When it comes to retrieving the object sent to you by a Web Service, there's an easy way to do it and a hard way to do it. The problem is that the easy way is hard to get.
04/25/2019
-
Eric Vogel kicks off his series on ASP.NET Core security by showing how to set up authentication to register, log in and log out a user account in an ASP.NET Core MVC application.
04/24/2019
-
.NET Core provides a framework that logging systems can be snapped into. However, what's most important about this framework is how you write your messages out. It's the quality of the message that will let you find where your problems are.
04/18/2019
-
ExpandoObjects let you dynamically add members to your object at run time -- a great way to handle scenarios where you need a lot of flexibility. But how do you work with an object when you don't know the names of its properties?
04/16/2019
-
Here are some of the top, free .NET Core-related extensions that target Visual Studio 2019.
04/12/2019
-
Need to predict the political party affiliation (democrat, republican, independent) of a person based on their age, annual income, gender, years of education and so on? Our resident data scientist Dr. James McCaffrey shows a technique that can help with that and much more -- with code!
04/10/2019
-
ASP.NET Core has a more sophisticated way of finding the right layout View for your View. It does that by distinguishing between "local" and "global" Views. You can take advantage of this to simplify your life.
04/04/2019
-
You can give your users the ability to store any data they want, including stuff they make up at run time, by using an ExpandoObject. In fact, when you don't know what your data is until run time (and you can live without IntelliSense), an ExpandoObject is your best solution.
04/01/2019
-
Blazor, like most systems for generating Web pages, supports using layout pages for repeated content. Here's what works, what doesn't (yet) work and work-arounds I've discovered for what doesn't work.
03/29/2019
-
You've got some "sensitive" settings that you'd rather not keep in a plain text file on your site. Good news: You can keep your settings anywhere you want (in code, in a database) and your application won't care.
03/26/2019
-
If you've been configuring Visual Studio to meet your needs, you should protect yourself against disaster by exporting your settings.
03/21/2019
-
The reality is that you will need to have, at least, two different configurations: one for production and one for development. Here's how to automate those conversions.
03/18/2019
-
By default, the URLs you use to access Razor Pages are tightly tied to file names and folders in your project -- not something you could call "loose coupling." Fortunately, you can change that.
03/15/2019
-
If you move beyond the basics of working with Razor Pages, there are at least two things you should know to support creating Pages that do more than one thing and integrate with existing code.
03/14/2019
-
You've rewritten some code to make it "better" ... how do you know that?
03/13/2019
-
You want to find all the places some object is used and, once you've found them, walk through them. Good news! You're just two keystrokes away from your goal.
03/12/2019
-
If you're moving your application's client-side code to Blazor, then you'll want Blazor to manage navigating between pages, too.
03/11/2019
-
You want to use code-first Entity Framework and the idea of driving your database schema from your object model makes sense to you. Here's what you need to do when you're extending an existing database both in the .NET Framework and .NET Core.
03/11/2019
-
.NET Core 3.0 won't be ready for Visual Studio 2019's April 2 ship date, but a manual download and a menu configuration setting will let you use both previews together right now.
03/08/2019
-
There are lots of ways to handle databases in a containerized environment like Docker. Here's how to create SQL Server in a container, how to load it with the data you want and how to integrate that container into whatever project needs it. Be warned: Some PowerShell is used.
03/05/2019
-
Here's how to run a "real-world" application (consisting of an MVC application and a Web Service) in a networked set of Docker containers. And it's just a couple of mouse clicks in Visual Studio to implement it.
03/05/2019
-
Our resident doctor of data science this month tackles anomaly detection, using code samples and screenshots to explain the process of finding rare items in a dataset, such as discovering fraudulent login events or fake news items.
03/04/2019
-
The Data Science doctor delves into supporting vector machines, software systems that can perform binary classification such as creating a model to predict the gender of a person based on their age, annual income, height and weight.
03/04/2019