Azure App service time zones

Azure App services are one of the best options to deploy web applications without worry about the infrastructure. Recently I was working with one of the applications it needs to support local time, but the Azure App service created the nearest region. Due to this reason the time difference coming between app service and local time to users. So I need to sync the local time zone of the users with Azure App Service. Microsoft Azure gives a very cool option. We need to add WEBSITE_TIME_ZONE settings in App service.

App Service–>Configuration–>Application settings–>New Application Settings

Timezone

Time Zones 

Advertisements

Visual Studio 2019

Microsoft launched Visual Studio 2019. As developer always excited check new version. Microsoft giving best user experience on the visual studio for developers. From visual studio 2017 onwards its improved lot in the performance of the visual studio. Customized more friendly UI installation based on the developer instead of bundle installation.

        Try a new version of Visual Studio 2019 to enhance your productivity and skills. Below is the snapshot of new features. New Features summary

 

.Net Architecture Guidance

While developing new application or technology upgrades we are looking for Guidance. Now Microsoft supporting the .Net Architecture Guidance for modern applications like web applications,microservices,docker and mobile application with xamarin using .net. Microsoft giving free ebooks and sample apps for .net architecture guidance.use the below link for download.

Link

Asp.Net RDLC performance issue

I was recently worked on very interesting issue in RDLC.Few months back the Asp.net application migrated from 3.5 to 4.6 and deployed in the production and working good.Recently few users are reported, page not responding to any action on the page even cancel button click in the application.Started  investigating on the issue.Initial i was think it may  due to data but later on  due to migration and the solution is to add below value in web.config.

      <trust legacyCasModel=”true” level=”Full”/>

Type Script-Fix:0x800a01b6 – JavaScript runtime error: Object doesn’t support property or method ‘defineProperty

   I have started exploring on TypeScript in Visual Studio 2017.In Typescript(.ts) file i have created class and declared the variables and methods.Its working fine with my page. Now i have created properties(set,get) for private variables.Now running the code i got the below error in internet explorer(IE 11 version).

0x800a01b6 – JavaScript runtime error: Object doesn’t support property or method ‘defineProperty

   I have verified my code about the properties declaration in Typescript.It correct but not working.I have checked issue in the internet and tried multiple options but not worked.

 I have checked in the internet explorer settings and found the issue for above error in Typescript.Few months back i had worked on intranet based application,I have added local host in compatibility View Setting to check some specific issue.After that i have not removed setting.Due to this i got the issue.Once removed the localhost from compatibility view settings it’s working fine.

Internet explorer–>Tools–>compatibility View Settings–>(select your site)–Remove.

 

Report Designer for Visual Studio 2017

Working with new version of the IDE is always excitement because exploring on the new things.I am working on the migrated project from .net framework 3.5 to 4.6 in visual studio 2017.While opening the RDLC file it’s open XML designer instead of the RDLC designer. I have checked in the internet found RDLC is not installed in my visual studio 2017.Report designer downloaded from the visual studio marketplace from below link.

Download

Visual Studio 2017 installation for Web Developers

Visual studio 2017 installation is entirely new way of installation compare to previous version of visual studio.In installation of Visual studio 2017 can be customized based your development requirement.Workloads,individual components and language packs are new features in visual studio 2017.

I have working on the web development then in the installation selected ASP.NET and Web development workload and selected individual components like .NET framework 4.6. Below is the screenshot for workloads.

Web

After some time  visual studio 2017 is ready to use in my system.If you want more detail please refer microsoft documents link for installation.