Dec 13

>Entity Framework(often referred to as EF):
>a .NET Framework data-access technology to define and work with model classes.
>By default, the Entity Framework looks for a connection string named the same as the object context class (MovieDBContext for this project).

>Entity Framework is default to using LocalDB.

>LocalDB is a lightweight version of the SQL Server Express Database Engine
>LocalDB runs in a special execution mode of SQL Server Express that enables you to work with databases as .mdf files.
>Typically, LocalDB database files are kept in the App_Data folder of a web project.

>SQL Server Express is not recommended for use in production web applications.
>LocalDB in particular should not be used for production with a web application because it is not designed to work with IIS. However, a LocalDB database can be easily migrated to SQL Server or SQL Azure.

Dec 12

>Razor code註解符號 @*…….*@

>A controller class is where you write the code that handles the incoming browser requests, retrieves data from a database, and ultimately decides what type of response to send back to the browser.

>A view template should never perform business logic or interact with a database directly. Instead, a view template should work only with the data that’s provided to it by the controller. Maintaining thisseparation of concernshelps keep your code clean, testable and more maintainable.

>目前都是藉由Controller(藉由網址)傳遞資料給View(畫面呈現)

Mar 14

  一直以來都把網誌的圖片放在Dropbox但最近收到Dropbox通知,3/15準備把Public的公開資料夾功能拿掉雖然還是可以用分享連結的方式讓圖片可以外連但這個轉換工作太浩大且難保未來不會再調整一次因此乾脆評估把圖片移到較穩定的空間

繼續瀏覽 »

Feb 20

  預設ul標籤會在行的上下方留白若不要留白可在css的ul標籤加入

ul {
margin:0;
}

 

【相關連結】

Feb 7

方法一

  • 在專案按右鍵選「Manage NuGet Packages for Solution

 

繼續瀏覽 »

Jan 20

====Memo====

1.至Studio Styles網站下載Monokai BrightSublime的scheme

2.開Visual Studio「Tools」-「Import and Export Settings」-「Import Selected Environment Settings」…

 

【相關連結】

Nov 23

  前兩週公司網路架構大翻修忙到不可開交在修改print server的IP時有兩顆很機歪一開始先是不讓我改後來改好後變成只要閒置一段時間他就會斷線試了一整天最後放棄就抓了個小程式放在Server讓程式每隔30秒就對print server來ping一下

繼續瀏覽 »

Dec 13

 

  之前在找一些電腦單字發音時無意間找到Forvo這個網站Forvo上有各種語言單字的發音這些聲音資訊都是由世界各地的網友提供因此一個單字你可能會查到多個聲音檔網站還會列出每個聲音檔是由何處提供

繼續瀏覽 »

Nov 18

  呼~成功讓Ubuntu跑IE了感覺真是奇妙目前正在嘗試在Ubuntu運行遊戲哈哈~好過癮哪!

 


【延伸閱讀】
役言堂:安裝Internet explorer 6

Oct 28

  就在昨天凌晨將Ubuntu 7.10 灌進電腦裡了一切都還算是順利比過去的經驗好很多甚至會讓我直接以Windows的角度去感受這個作業系統目前的感想是要取代windows老實說我認為還有一段路要走但是路的盡頭已不再是那麼遙遠!

  中午跟朋友去吃飯時東扯西聊聊到ubuntu原來朋友也有在玩互相交流了一點想法兩個人都是新手瞭解的都不多但對這個套件都覺得挺有意思的

  目前我主要是在設置一些常用的軟體打算先把基本的環境搞定邊弄邊摸索早上都在搞輸入法就是無法調校到習慣的方式不過剛剛換成另一套後感覺還挺不賴隨即又順利裝上音樂播放程式整個成就感都出來了感覺真棒哈!

  ubuntu還是會需要用到一些指令因此我會把用過的一些指令記錄下來(順道一提ubuntu內建的筆記功能還挺便利的呢!)而除了記事本外我還想記錄一份在網誌上除了雙重備份的功用外也許還可以幫到其他網友一舉數得何樂不為不過因為屬性較偏記事筆記因此會丟到「爪哇島」那板去怕丟到網誌這板會有點雜

  這次應該是第四次接觸Linux了前面兩次都鎩羽而歸第三次的Debian在文字模式摸了兩天後終於成功進入x-window結果卻反而不知道要怎麼使用也因為進入x-window的目標已達成動力頓時大減後來就沒繼續玩了希望這次能成功的藉由ubuntu引領我進入Linux的世界


【相關連結】