.Net Custom SQL Provider for ASP.net Identity
I am working on the redevelopment of AdvGenCMS which is a simple .Net CMS. It built by myself and a couple of intent university students. I have not updated for a few years. These few days, I am working on redevelopment it. Currently, I am working on the authentication framework.I am upgrading that from ASP.net Membership system to ASP.net Identity. In last version, that is using a custom SQL Provider. I found that is more workable with a similar SQL provider. But I need to change the UserStore and my own user class need to be implement IUser interface.
public partial class AdvUser : IAdvUser, IUser
Xamarin without Mac Host Agent
I just downloaded the new version of Xamarin last week. In the old time, I need to install a mac host agent and ran it every times. That is not very good. I found the new version can build the ios app without that Mac Host Agent. They use SSH remote login to build the app. You only have to enter "remote login" in the spotlight search, then enable remote login in sharing windows. Then that is!
However, I found my iOS device still need to connect with my mac book. If they can do the debug redirect to my windows laptop, then that is great!
Please consider this before WebView in Xamarin Form
Recently, I used the WebView control in Xamarin Form a lot recently. WebView required you to set HeightRequest. If you did not set HeightRequest at all, it won't display at all. That is not a deal, when the WebView has fixed height. However, if you want the height of WebView based on its html content, that will be very hard. You need to write a custom renderer to do that. Xamarin forum has some examples for this purpose.
Missing class.jar in AppCompat folder
After I upgraded Xamarin Forms 2.0, I got an error about missing class.jar under a local folder about AppCompat library. I tried to remove and add Xamarin Forms Library. The final solution is deleting the whole AppCompat library under the local folder
Error 255 after I installed Visual Studio 2015
This week, I installed Visual Studio 2015 in my laptop. Then all of websites I build which is running .Net Framework 4.5 or 4.5.x are not working. They got .net framework error Error 255 and it cannot execute vbc.exe. I did a lot of research. There are a lot of people wrote about this error is about App Pool Identity. They are right in the past, I found out if you have .net framework 4.5 an 4.6, this error is caused by some security patched, 3098779 and 3097997. If you uninstall these two patches, then you will be fine again.
