Category: "Announcements [B]"
Microservices need to make it right
Last month, I went to Brisbane .Net User Group. One of the talks was about Microservice. The key point is we need to make the Microservice right, rather than pretending to have Microservice. I totally agree with that. Because the main key part of Microservice, in my understanding, is self-contained. The microservice won't need to require any external resources and the tasks will be carried out by a microservice is very small. Thus, that is very hard for architects.
HDMI and DVI cannot convert to the Display Port
I felt I am very silly. I got a work laptop, personal business PC and Mac Mini. Then my monitor got three sockets, two HDMI ports and a Display Port. I used two HDMI ports for my work laptop and personal business PC. So there is only a display port for my Mac Mini, but my Mac Mini got a HDMI port out. I do not want to waste it. At the end, I bought a HDMI to display port cable. I found that is not working, because the cable is only support only one direction, that is from Display Port Out (Computer) to the monitor with HDMI. We cannot do it another way. Then I found a forum post suggested to have a Display Port to DVI converter, then use the HDMI to DVI cable, to connect your computer to the adapter. Then I found it won't work too. The Display port to DVI adapter is one direction only too. That is to connect the display port out in the computer side. Then I finally admited I cannot convert HDMI to display port montior
DateTime in ASP.Net Core at Azure
I did the ASP.Net Core MVC web app in Azure. I found all DateTime values are displayed in US format. Even I set in Startup.cs set DefaultRequestCulture to be en-au. It does not work. Finally, I used to use DisplayFormat attribute in The object.
Code
[DisplayFormat(DataFormatString = @"{0:dd\/MM\/yyyy}", ApplyFormatInEditMode = true)] | |
public DateTime? DateTime { get; set; } |
That works in display form. Moreover, the input field will display value in this format.
[Xamarin] Error: AppData\Local\Xamarin\[packages]\[version]\class.jar missing
After I had installed a new component in my Xamarin project, I got an error like that: C:\Users\[username]\ AppData\Local\Xamarin\[packages]\[version]\class.jar missing.
I found the problems are caused the downloading packages are failed before. The Xamarin is not smart enough to re-download automatic.
The solution is simply. I only need to delete all zip files under Error: C:\Users\[username]\AppData\Local\Xamarin\zips and the package folder in the error message. Then I need to rebuild the project. The packages will be download again. The project will build successfully.
New version Visual Studio Team Service
In ten years ago, we started to use Visual Studio Team Foundation Server. That sounds only a source control system. Last night, I went .net user group meeting for the new version of Visual Studio Team Service. The presentation is great. The new version have on-premise and on the cloud. Moreover, that is more than a source control system. It is similar with JIRA, and it can handle the change request and user story, you can use it to do scrum meeting. In addition, it is not for Visual Studio, it got the plug-in for eclipse and Android Studio. Also, it got build agents for Android and Linux too, even you use the cloud version, you can install a build agent on your computer. The on-cloud service can trigger the agent. Lastly, it just supports TFS, it supports ZGit, and can link up any external git system. That is great!