Skip to main content

Posts

MAUI to replace Xamarin

NET Multi-platform App UI (MAUI) NET Multi-platform App UI (MAUI) is a multi-platform technology for developing mobile (iOS and Android) and desktop (Windows and Mac) applications. NET MAUI is an evolution of Xamarin. Forms, they have most of their features in common. You can get almost all things in . NET MAUI that Xamarin has, like controls, layouts, Shell, gestures, templates, and cross-platform APIs for device features. Disadvantages It is a new product that has just been released and, although the released version is stable, some essential controls such as maps are still missing. Does Maui replace WPF? Building a WPF app is not supported in MAUI - as noted, they are two different UI implementations which both run on . Net 6. WPF is Windows specific, while MAUI is cross-platform. Compared to Flutter Flutter apps tend to be smaller and faster than those built with . NET MAUI. This is partly due to the small size of the compiled code. Overall, Flutter provides a more efficient and fl
Recent posts

dotNET7

Performance is a key focus of .NET 7, and all of its features are designed with performance in mind. In addition, .NET 7 includes the following enhancements aimed purely at performance: On-stack replacement (OSR) is a complement to tiered compilation. It allows the runtime to change the code executed by a currently running method in the middle of its execution (that is, while it's "on stack"). Long-running methods can switch to more optimized versions mid-execution. Profile-guided optimization (PGO) now works with OSR and is easier to enable (by adding <TieredPGO>true</TieredPGO> to your project file). PGO can also instrument and optimize additional things, such as delegates. Improved code generation for Arm64. Native AOT produces a standalone executable in the target platform's file format with no external dependencies. It's entirely native, with no IL or JIT , and provides fast startup time and a small, self-contained deployment. In .NET 7, Native

dotNET6

FileStream The System.IO.FileStream type has been rewritten for .NET 6 to provide better performance and reliability on Windows. Now, FileStream never blocks when created for asynchronous I/O on Windows. Profile-guided optimization Profile-guided optimization (PGO) is where the JIT compiler generates optimized code in terms of the types and code paths that are most frequently used. .NET 6 introduces dynamic PGO. Dynamic PGO works hand-in-hand with tiered compilation to further optimize code based on additional instrumentation that's put in place during tier 0. Dynamic PGO is disabled by default, but you can enable it with the DOTNET_TieredPGO environment variable. Crossgen2 .NET 6 introduces Crossgen2, the successor to Crossgen, which has been removed. Crossgen and Crossgen2 are tools that provide ahead-of-time (AOT) compilation to improve the startup time of an app. Crossgen2 is written in C# instead of C++, and can perform analysis and optimization that weren't possible with

Whats new in Visual Studio 2013

With most releases, the following areas received the most focus : One ASP.NET - All previous ASP.NET projects integrate seamlessly with the new One ASP.NET experience. You can customize your project and configure authentication using the One ASP.NET project creation wizard. It allows you to easily mix and match .NET technologies within a single application (Web Forms, MVC, Web API etc.). ASP.NET Identity - The project templates have been updated to use ASP.NET Identity for authentication and identity management. A tutorial featuring Facebook and Google authentication and the new membership API can be found at  Create an ASP.NET MVC 5 App with Facebook and Google OAuth2 and OpenID Sign-on  . Bootstrap Integration - The project templates has been updated to use Bootstrap to provide a sleek and responsive look and feel that you can easily customize. For more information, see Bootstrap in the Visual Studio 2013 web project templates. Peek Definition  - Basically a very quick and ea

How to retry jquery ajax failure request

$ . ajax ({ url : 'someurl' , type : 'POST' , data : ...., tryCount : 0 , retryLimit : 3 , success : function ( json ) { //do something }, error : function ( xhr , textStatus , errorThrown ) { if ( textStatus == 'timeout' ) { this . tryCount ++; if ( this . tryCount <= this . retryLimit ) { //try again $ . ajax ( this ); return ; } return ; } if ( xhr . status == 500 ) { //handle error } else { //handle error } } });

Whats new in Visual Studio 2015

Single sign-in You, like many other developers today, take advantage of multiple cloud services when developing your applications. For example, you've probably added a cloud backend to your applications to store data, stored your source code in the cloud, or published an application to a store. In the past, each of these services required a separate sign-in process, and each service managed the signed-in user state separately. With this release, reducing the authentication prompts required to access many integrated cloud services in Visual Studio. Now, when you authenticate to the first cloud service in Visual Studio, will automatically sign you in, or reduce the authentication prompts for other integrated cloud services. CodeLens In CTP 6, you can now see the history of your C++, SQL, or JavaScript files versioned in Git repositories by using CodeLens file-level indicators. Code Maps When you want to understand specific dependencies in your code, visualize them by cr

ASP.NET 5 and MIDDLEWARE

ASP.NET 5 has been largely rewritten from the ground up, and incorporates some radical changes when compared with previous versions of ASP.NET. One of the biggest changes is in the HTTP Pipeline. This article looks at how those changes impact the design and registration of plug and play components that used to be represented by HttpModules. full blog