kunal-chowdhury.com

CodeProject

Showing posts with label CodeProject. Show all posts

Microsoft Visual Studio 2017 version 15.7.4 (latest version: 15.7 Update 4) is a new servicing update for Visual Studio 2017 installation. If you are running Visual Studio 2017, update to the latest version 15.7.4 to resolve a bunch of issues that has been fixed by Microsoft.

 

To get the updates, either check for update notification within the IDE or launch the Visual Studio Installer. Check out this blog post to know what has been fixed in this update build.

Published by on under CodeProject | DZone

Microsoft has released a new update to Windows Template Studio. The latest version of Windows Template Studio 2.2 includes 3D Launcher feature, Wizard enhancements, improved documentations and many bug fixes.

 

To know more about the new changes and improvements part of this release, and to learn how to install this update, continue reading the post.

Published by on under .Net | CodeProject

Microsoft today announced that the next version of Visual Studio will be named as Visual Studio 2019 and the preview version of Visual Studio 2019 can be installed side-by-side with Visual Studio 2017. Though the release dates of Visual Studio 2019 is not yet announced, but the preview version of the IDE can be expected in the coming months.

Published by on under CodeProject | DZone

An interface in TypeScript contains only the declaration of the methods and properties, but not the implementation. It is the responsibility of the class that implements the interface by providing implementation for all the members of the interface.

 

Today, in this TypeScript Tutorial, we will learn how to work with Interfaces in TypeScript. Continue reading to learn more.

Published by on under CodeProject | DZone

Just like any other OOPs supported languages, TypeScript also allows you to inherit a base class. In the last article, we learned how to create class in TypeScript. We have also learned how to create a constructor and how to instantiate a class object.

 

In this article of the TypeScript Tutorial for beginners series, we will learn how to inherit a TypeScript class. Continue reading to learn it today.

Published by on under CodeProject | DZone

Earlier in the TypeScript Tutorial series (Getting started with TypeScript) we learnt about the TypeScript configuration file, variable declaration and basic data types. I hope that was neat and clear to understand the very basics of TypeScript.

 

Today in this article, we will learn how to define a class and instantiate class object. Continue reading to learn about it today.

Published by on under CodeProject | DZone

Like JavaScript and any other languages, TypeScript also provides basic data types to handle numbers, strings etc. Some common data types in TypeScript are: number, string, boolean, enum, void, null, undefined, any, never, Array and tuple.

 

Let's learn more about these basic data types of TypeScript, which you will need to use always. Let's learn with suitable examples.

Published by on under CodeProject | DZone

In the previous few chapters of the TypeScript Tutorial series we have learned how to install TypeScript and then begin with creating a simple HelloWorld application. We have also learned about TypeScript configuration file (tsconfig.json).

 

In this chapter we will learn various ways to declare variables in TypeScript. Continue reading to learn more about it.

Published by on under CodeProject | DZone

The tsconfig.json file allows you to specify the root level files and the compiler options that requires to compile a TypeScript project. The presence of this file in a directory specifies that the said directory is the TypeScript project root.

 

In this chapter of the TypeScript Tutorial series we will learn about tsconfig.json, it's various properties and how to extend it.

Published by on under CodeProject | DZone

If you have read the previous chapter of the TypeScript Tutorial series, you have already learned how to install Node.js and TypeScript and might have already installed those. Now, it's the time to go a step further to learn how to write code in TpeScript.

 

In this article, we will learn how to create a simple HelloWorld application, compile it and run it. Continue reading to know more.

Published by on under CodeProject | DZone

TypeScript is an open-source programming language, developed and maintained by Microsoft, and hosted in GitHub. TypeScript is a superset of JavaScript and can be used to develop JavaScript applications for both client-side and server-side.

 

This post will cover how to install Node.js and then proceed with installation of TypeScript using the Node Package Manager.

Published by on under CodeProject | DZone

I hope you read my previous post on “Building a Toast Notification with text for apps targeting Universal Windows Platform”. There we learned how to create a very basic toast notification. Continuing the series of posts, today we will learn how to add buttons within the notification.

 

Let’s begin with building toast notification with text and buttons. Stay tuned to learn creating more complex notifications in next blog posts of this series.

Published by on under CodeProject | Tips

If you are a developer and building apps or games for Windows 10, targetting Universal Windows Platform (aka. UWP), you might want to show toast notifications to the user of your app/game. You might also want to provide some additional content like textbox, button etc. to get specific inputs.

 

As part of this tutorial series, we are going to learn how to show custom toast notifications. Today let’s begin with building simple toast notification with text. Stay tuned to learn complex notifications in next blog posts.

Published by on under CodeProject | Tips

Windows 10 SDK provides an easy to implement project template by which you can quickly create an app for Universal Windows Platform which you can use to run a hosted web app. You don’t have to create the whole app, if the site is already running. Just change few values in manifest file and your app will be running.

 

In this post, we will learn how to create a hosted web app targeting Windows 10 (without writing any code). Share your feedback and/or ask your queries, if any.

Published by on under CodeProject | Tips

If you are building apps/game for Universal Windows Platform, you might want to retrieve the device information where the app/game is currently running. You might use this information to log details about any exception and/or to do specific action based on device details.

 

In this post, we will learn how to fetch the device information in UWP apps. Continue to read about the APIs exposed by Microsoft SDK. Don’t forget to read my other posts too and share your feedback.

Published by on under CodeProject | Tips

How many times we are in such a condition when our battery is going to die and we have to do some important calls or something else? If we poll for it, the count will be high. If you are a developer and building apps targeting Universal Windows Platform (aka. UWP), you might want to integrate the battery APIs already exposed.

 

This post will cover about the API today and we will learn how more about the API with proper demonstration. Continue to read more on this topic and don’t forget to check other posts on the same topic.

Published by on under CodeProject | Tips

If you are a developer building apps for Universal Windows Platform, you might have noticed that, at the time of debugging there are some strings of digit getting display just under the title bar of the application. This is called as Frame Rate Counter, which displays frame rate and per frame CPU usage.

 

Today in this small blog post, we will learn how to enable/disable the Frame Rate Counter in your Universal Windows apps. Countinue reading to know more about it.

Published by on under CodeProject | Tips

If you are a developer and building apps for Universal Windows apps, you might like to customize your app title bar to match your app theme. You can also change various colors of the buttons. Windows 10 SDK provides you to customize the title bar of Universal apps.

 

Today in this blog post, we will learn how to apply custom colors in apps built for Universal Windows Platform along with different other APIs exposed for it.

Published by on under CodeProject | Tips

Serialization and deserialization of .NET objects made easy using various serializer classes that it provides. But serialization of Dictionary object is not that much easy. For this, you have to create a special Dictionary class which is able to serialize itself. The serialization technique might be different in different business cases.

 

Today, let’s discuss how to implement the same with a sample. Code is shared in the post, which you can use in your application. Continue reading and let me know if you have any other approaches.

Published by on under .Net | CodeProject

Visual Studio 2015 and .NET 4.6 came up with another new feature (more precisely an enhancement) for C# 6.0 named “Dictionary Initializer”. It’s not a new thing but now you will be able to map the key/indexer directly at the time of dictionary object initialization.

 

Today in this blog post, we will discuss about this with an example. Don’t forget to read the other new features which I posted earlier. Links can be found in this post.

 

Published by on under .Net | C# 6.0