-
The Getting started with Xamarin and matters Virtual
The main landing that I can’t ever seem to remember to start with is actually here:
Installing and Setting Up Xamarin.Android – Xamarin
Installing and Setting Up Xamarin.Android – Xamarin
How to install and configure Xamarin.Android to work with Visual Studio.
Source: docs.microsoft.com/en-us/xamarin/android/get-started/installation/
The next important part is when you are setting up HAXM (for intel based chips)
From a cmd window.
sc query intelhaxm (and if it is not already installed go here HAXM Release on GitHub
sc stop intelhaxm – to stop the service
sc start intelhaxm – to start the serviceYou can also use Hyper-V (sometimes I have issue with this method because it likes to mess about with my wifi/lan connections- that’s sometimes not a pretty sight in Windows 10).
-
Port Desk Top UI App
Not really ready for prime time , but here’s an article stepping through the how-to and the workaround for the fact that Core has yet to add the visual designer for, ya you guessed the actual Windows Form- that seems to be a rather glaring miss if we are talking about porting and doing traditional windows UI forms development going forward.
In this post, I will describe how to port a desktop application from .NET Framework to .NET Core. I picked a WinForms application as an example. Steps for WPF application are similar and I?ll describe what needs to be done different for WPF as we go. -
Using Kestrel for ASP Core Apps
As I was looking about with some of the Core 2.2 notes, I came across some interesting notes on how to tweak about with Kestrel settings….
I’m not sure I like putting Kestrel options up the in the Main Program builder. I tend to prefer these to collect in the startup class, but I get point of why Kestrel needs to be handled close to the Builder (it is after all the html service handling web calls).
Shall we begin…
So up in program.cs we do our normal Web Host Builder:public class Program { public static void Main(string[] args) { var host = CreateWebHostBuilder(args).Build(); MigrateDatabase(host); host.Run(); //CreateWebHostBuilder(args).Build().Run(); } private static void MigrateDatabase(IWebHost host) { using (var scope = host.Services.CreateScope()) { var db = scope.ServiceProvider.GetRequiredService<ApplicationDbContext>(); db.Database.Migrate(); } } public static IWebHostBuilder CreateWebHostBuilder(string[] args) => WebHost.CreateDefaultBuilder(args) .UseStartup<Startup>(); }
This tends to be my way of doing Program.cs. Note I split out the Build part into a static method (the normal default way is to have one fluent state that does a build and run in single line- it’s that commented line in the Main method)
public static IWebHostBuilder CreateWebHostBuilder(string[] args) => WebHost.CreateDefaultBuilder(args) .UseStartup$lt;Startup>() .ConfigureKestrel(opts => { opts.Limits.MaxConcurrentConnections = 100; });
In my example, the method I push Kestrel setting to would of course have the .ConfigureKestrel with it’s options settings…
Check it out… lots of interesting tweaks on settings…
You will find some details here on MS DOCS:
Learn about Kestrel, the cross-platform web server for ASP.NET Core. -
Good things coming to EF Core 2.2
I noticed some interesting matters coming to the EF Core. Having access to additional Databases, what’s not to like about that? From the check it department…
A first-hand look from the .NET engineering teams -
From the Dot Net Config some Good Web Sites to check out.
So in the travels about with the .Net Conf this week check out some site:
And…
BuiltWithDot.Net is a community showcase of projects built with .net framework, .net core, xamarin, mono, mono game, unity, or godot. Anyone can submit.And…
-
Did you say Free Pipelines?
Who doesn’t like FREE… I may need to have a second like at Azure Pipelines…. on YES!
With the introduction of Azure DevOps today, we?re offering developers a new CI/CD service called Azure Pipelines that enables you to continuously build, test, and deploy to any platform or cloud. -
Visual Studio 2017 Editor Matters
Some interesting new editor tricks with the latest VS 2017:
The official source of product insight from the Visual Studio Engineering TeamSome of these, I’m not 100% sure I would need to use on a regular bases… But one of certain interest to me is editing on the ragged column. So what do I mean by that?
Basically there are few editors (text, code, etc) and allow one to mark the beginning and ending columns across many rows in a body of text. Being able to do so allows one to globally insert, copy, paste, change the text marked between the start/end selection. This is very useful for visually seeing changes in text across many rows- Yes yes I know most folks would opt to use Find/Replace or Regular expressions- which fine… those have there place. But it is very useful to have a visual select ability as well. The only other place I’ve seen this is in NotePad ++ with it’s column mode editing. Problem is with NotePad++ is that the selection of begin/end has to be within the same columns across consecutive rows. One cannot pick and choose different rows with different begin/end column positions.
Now enter our favorite VS team with Multi-Caret Support… very nice folks! I would only like to see one small change… make the caret locations a little more visible.
-
Blazor and EF Core to Nowhere land.
In the long decent into “Experimental” frameworks- this one being Blazor, I’ve been finding some challenges with getting Blazor to work with the latest EF Core. There’s a few examples of Blazor being used with EF Core (i.e. the CRUD example that’s floating around the inter-Tubes), but nothing that seems to work with the latest Blazor Lang template in the latest VS release.
One can go to a lower EF Core version, well mostly… I’ve yet to get my Blazor Hosted Core test app to compile…. let alone the DB-Context to Scaffold… it just spews errors no matter which direction I go in… Oh Bother….
I have to remember that Blazor is “Experimental” – But it would be nice if would keep up with the forward moving components like EF Core and the latest VS releases. I wonder what all of the Blazor Template releases are doing- seems like each time I run up VS there’s a new Blazor Lang Update. Curious…