Posts

Showing posts from May, 2017

[Windows Container] SQL Server

Image
I've been a long time not play with Window Container.Today I just saw an article which introduces the SQL Server Container how to used.Therefore I doing a practice follow by this article.Due to operation system was reset so that I reinstall the Window Container by the way. 1.Install Windows Container Power Shell execute the following script Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V -All Enable-WindowsOptionalFeature -Online -FeatureName containers -All ps:Window10 required   14393.222 or than this version,To restart after being installed.

[Debug] Entity Framework parameter exceed max length

Image
Our team member report an error is that a user execute with large text from clipboard then occurred "String or binary data would be truncated"

Console Program app.config trasform

Image
 I have a console app to some of the background tasks.I got some troubles with switch QAS stage and production stage.For that, I need to replace the app setting for difference machine.Therefore I write some codes to do thus to got my purpose.Today I saw an article to introduce to do that.I realize that I have done the stupid thing to deal with that thing.This article is for my regretted note. Auto transform App.config App.config add Stage setting,value= Debug