Skip to main content

Posts

Showing posts with the label Programming

Microsoft Blazor / ASP.Net Core video Collection Tutorials

Video Collection related to Microsoft Blazor What is .Net? | .Net ASP.NET Core 101 - Series by Scott Hanselman & Kendra Havens This tutorial explains what is .NET anyway? .NET is an open source development platform which is just a way of saying it's a collection of languages and libraries that can all work together to build all kinds of apps! Entire Series here   ASP.NET Core - Beginner - 3.1 Razor Pages Whats new in ASP.NET Core 3.1 Preview 1 for Blazor. In this video we'll update our Blazor Application to use ASP.NET Core 3.1 Preview 1. Also, we'll explore the new features of this version of .NET Core. Blazor, a new framework for browser-based .NET apps - Steve Sanderson Today, nearly all browser-based apps are written in JavaScript (or similar languages that transpile to it). That’s fine, but there’s no good reason to limit our industry to basically one language when so many powerful and mature alternate languages and programming ...

What is C# Blazor?

What is C# Blazor? Blazor is a new .NET web framework for creating client-side applications using C#/Razor and HTML that runs in the browser with WebAssembly. Blazor lets you build interactive web UIs using C# instead of JavaScript. Blazor apps are composed of reusable web UI components implemented using C#, HTML, and CSS. Both client and server code is written in C#, allowing you to share code and libraries. WebAssembly & C#? JavaScript is a powerful language but it has its disadvantages. Some are fixed by TypeScript. However, using C# for client-side web development is compelling for many people because of reasons like the following: C# is a very robust and feature-rich language that has proven to be successful for projects and teams of all sizes Existing C# code could be re-used ASP.NET Core is a powerful programming framework for server-side web development. Enabling C# on the client would allow teams to use a common technology - stack on server and client. Compact an...

Japanese new era date - 日本の新時代の日付

Since April 1, 2019, the new era name was announced for Japanese date Reiwa (令和). I came across few question by programmers regarding Japanese date and most of it was showing old era as not all user had updated their operating systems libraries. On April 25, Microsoft released packages for different Windows operating systems containing the updated registry key with the new era name. Update your device and check your registry to see if it has the new key, and then test your application. The Japanese calendar is divided into eras, and for most of the modern age of computing, system have been in the Heisei era; however, on May 1, 2019, a new era began Reiwa (令和). Because this is the first time in decades for an era to change, software that supports the Japanese calendar will need to be tested to ensure it will function properly when the new era begins. In the following sections, you will learn what you can do to prepare and test your application for the upcoming new era. ...

How to get the URL of the current page using C#

I have often came across a question where developer look to ways to get different page URL Below example will show you have to get different url and its segments Let us say my page URL is  http://localhost:51259/ TEST.aspx ? querystringOne=one Below is code snippet to get different segments of URL  Response.Write("<br/> 1= " + HttpContext.Current.Request.Url.Host); Response.Write("<br/> 2= " + HttpContext.Current.Request.Url.Authority); Response.Write("<br/> 3= " + HttpContext.Current.Request.Url.Port); Response.Write("<br/> 4= " + HttpContext.Current.Request.Url.AbsolutePath); Response.Write("<br/> 5= " + HttpContext.Current.Request.ApplicationPath); Response.Write("<br/> 6= " + HttpContext.Current.Request.Url.AbsoluteUri); Response.Write("<br/> 7= " + HttpContext.Current.Request.Url.PathAndQuery); Result from above code is as  1= localhost 2= localhost:51...