TFS vs. Git…or is it TFS with Git?


Good read on – Git and TFVC

Johan Leino's avatarJohan Leino

Maybe you ended up on this post because you searched for ‘Git vs. TFS’. I hope so.
I have seen some debate going on for some time now in twitter about Git versus TFS (here are some examples):

image

If that’s the case I think you’re looking at it from the wrong angle, so to say. It really a matter of centralized vs. distributed version control.
Here’s how Microsoft actually explains it when you choose version control while creating a new project in Team Foundation Service:

image

Team Foundation Version Control (TFVC) uses a single, centralized server repository to track and version files. Local changes are always checked in to the central server where other developers can get the latest changes.

Git is a Distributed Version Control System (DVCS) that uses a local repository to track and version files. Changes are shared with other developers by pushing and pulling changes through…

View original post 1,731 more words

Empty or Disable cache while working with Web resources in Dynamics 365 (Chrome)


Most of the time while developing Web Resource we need to frequently update and publish it. We need to make sure that it is not cached and our changes are reflected instantly on publish.

For Chrome,

Open the Developer Tools (F12)

Press and hold the reload button and select “Empty Cache and Hard Reload” to have changes reflected.

https://stackoverflow.com/questions/14969315/whats-the-difference-between-normal-reload-hard-reload-and-empty-cache-a/14969509#14969509

The other option à Developer tools – Settings – Preferences

Hope it helps..

How to – Update Schedule of existing Azure WebJobs (triggered)


Suppose we have following WebJob deployed in Azure of type Triggered.

And now we want to update its schedule.

To do so,

Open the App Service Editor

Update the CRON expression in settings.job (in case of scheduled web job), if the file is not there we can create and add it.

This makes the Webjob to run every 1 minute.

Back in our Webjob we can see the schedule updated.

Inside the logs à

More details –

https://github.com/projectkudu/kudu/wiki/WebJobs#scheduling-a-triggered-webjob

Hope it helps…

Advertisements

Using log4net with Azure WebJobs


To get started, let us create a C# Console Application and add the NuGet Package for log4net.

Update the App.Config with log4net configuration.

The most important part here is value of file.

The D:\Home\LogFiles is the path where our WebJob can write to.

https://docs.microsoft.com/en-us/azure/app-service/web-sites-enable-diagnostic-log#download

Inside our program.cs initialize the log4net.


Publish the WebJob to Azure.

Open the Kudo, we can see the Folder created

And our log file

Get all the details here

https://blogs.msdn.microsoft.com/benjaminperkins/2017/09/27/how-to-configure-log4net-on-azure-app-service/

Hope it helps..

Capturing Dynamics 365 client side performance telemetry with Azure Application Insights


via Capturing Dynamics 365 client side performance telemetry with Azure Application Insights by Dilip Kumar

Fixed – Wi-Fi Network not showing up in Windows 10


[Update – 6th June 2018]

Finally working now –

Tried starting all the network and update related services randomly in Windows Services (Run –> Services.msc).

2018-06-06_0720

Here are the list of services running in my machine

Try starting them and see if it works for you .

https://drive.google.com/file/d/1GD1HG4S5goMod8u4GgbcvORIeC7Z3VXi/view?usp=sharing

[Update – 2nd June 2018 – Still can’t see the wifi network, have tried all the option. I think will have to format it. Meanwhile using the below approach]

Few days back I saw that my Lenovo (Windows 10 ) laptop was not showing any WIFI networks.

I tried everything that was suggested out there i.e. update drivers, configuring WLAN Auto Config, Auto Discovery On etc. etc. (except the last resort of formatting the operating system) but none worked.

Interestingly it was showing all the available networks on the lock screen, through which I was finally able to connect.

The other option that could help is, from the command prompt delete the existing profile using the below command

netsh wlan delete profile name=”WifiName”

and create a new wifi connection manually and start it automatically.

I think some of the Windows updates might be the reason for this issue, so still waiting for a newer update that might fix it. Till then at least I have the above workaround.

Hope it helps.