'Form 覆寫 Dispose 以清除元件清單。 Protected Overloads Overrides Sub Dispose(ByVal disposing As Boolean) If disposing Then If Not (components Is Nothing) Then components.Dispose() End If End If MyBase.Dispose(disposing) End Sub

***using Data service hostData service is WCF serviceUse by client 1、 ATOM:application/atom+xml2、 JSON:application/json

***codepase If db include the pictures, the result will show very long.http getwebclientxmldocumentcredentialcachexmlnamespacemanager (doc.nametable)client.downloadstrin(“http://localhost/Northwind)XMLnodelist datasourcenodes = doc.selectnodes(“//def.service”)Use xpath to get the dataThe parser should have the namespaceAtom: , use xml namespace add atom1、 Addnamespace(“def”)2、 Addnamespace(“atom”) i. To select all the entiry3、 Webclient4、 Client.headers.add(“accept”, “application/json”);5、 Client.headers.add(“content-type”, “application/json”);6、 Client.downloadstring7、 Jobject jsondatasource

***interact with data serviceCRUDPost = createGet = retrievePut = updateDelete = deleteremarkAs soon as you can use http, you can also link to data service to access data.If you don’t let the user to update, you can remark the “put”Data service use uri to decide the query way1、 Uri: http://[URL]/[ServiceName]/[entityName]/[NavigationOptions]?QueryOptions]i. Url: the data service locate addressii. Entity: 1. /ds.svc/ProductProfilesiii. Set query1. /ds.svc/ProductProfiles?$filter=code eq ‘AKAFI’iv. Sequence1. /ds.svc/ProductProfiles?$filter= code eq ‘AKAFI’&$orderby=ProductIDv. Paging1. /ds.svc/ProductProfiles?$filter= code eq ‘AKAFI’&$orderby=ProductID top skip

wide tablesf. filtered indicesg. Active or inactive userh. We must indexing to all the users, every query to go through all the usersi. Only pick up certain columns to do the filterj. Create the index toward certain column with true valuek. Column put into “simplified Chinese””and “Traditional Chinese” to build index through the filter indices

***searching 1. find out the site you want to search and can treat it as one big searching engine2. !!! set skillset on the user profile ? can link to certain file, yes. Through hyperlink, copy paste to certain folder

***receiving the outlook,SAP !!OBA (office business application)

***Demo 2 OBA1. open one email2. create one team3. get groups / ad Don Funk & Nancy4. assign task on (task pane) 5. build one site (working spaces)6. open the (sales) RFP portal on share point7. master document 8. sub doc9. use that user to log in terminal10. send mail by share point11. the user being assigned will receive the mail (link to sharepoint site to download the word document)12. assigned user can search and insert answer and set the task to completed13. use vsdo to develop

? (ip pool manage by vpn)7) recognize the company certificate assisg the vpn pool (relink the same ip)9) offer the data encryption

***Gateway server deploy requirement· network requirement

- support standard DMZ infrastructure§ 2 firewall, on to internet one to intranet- when the mobile§ vpn ip pool can link§ mobile support proxy server (setting the group policy for proxy server)§ not supporting nat§ need 2 network cards§ only support one IP

Deliver in less 24 hours by virtualization. Excel virtual infrastructure

System center virtual machine center

MSDN site and tech-net are all on virtual servers.

VMwre virtual center

***demo virtual machine managerview the serversView by hostBuild the virtual pcIn this unified interface ß schedule and the tasks can view

- different operation role can have different view- use the web to see the desktop of different virtual pc - hyper v and vmware servers- to see the task and component running status and log- use the different application role - in the virtual diagram to view the network card and ports - to do the on line backup by snapshot– backing snapshot- vm ware - plication

Interoperability – microsoft’s principlesEnable dynamic it operations

Ensuring open connectionsData portabilityEnhanced support for standardsOpen engagement

customer demo Kingston- CFO- Deduct the server number, the delivery data should be all stored in Taiwan- Data impress to shrink the data data- Back buck the data with 1/5 time- Back up storage deduct 50%- Deduct the server number, the delivery data should be all stored in Taiwan- Data impress to shrink the data data- Back buck the data with 1/5 time- Back up storage deduct 50%- Server policy management o To old Datao In the virtual server and change link -

***demo

- policy managemento set up in evaluation – to scan all the sql server performance- resource managemento view all the resourceo can allocate the percentage of cpu usage- file stream can stored in the db server- link the video with the point on the map route can stored- I can view the upload the video - Embedded api can support the programming

***demo 2- now through the add-in we can do the data mining in excel- report viewer (double y axis) (big amount and low amount) - temperature- report component – pacifics ( selling amount and selling value can show in the same table)

3、Overlay context4、Load Test Statistics5、View State and Loadview state6、Counter (平均的頁面時間)Log Parser7、View most viewing webpage8、Build your self DB Schema and pull in the log data9、The ten web pages top 10 slowSQL Server Report Pack for IIS10、Pages summaryi.2008 pick up what page take how many connection and percentageii.The top 1 web should be picked up as the top 1 tunning pageiii.Spent how many hours,

*** write sql query and post in the excel

***List the basic Tunning statisticFind out the bottle neck of the efficiencyCahe and no cache1、In memory always wins 2、If your page need to get the web service or file content , ro db record to put into memory3、Use webpage and outputCache4、<%@ OutputCache Duration=”60”VarybyParam=”none”VarybyCustomer=”browser” %>5、Use substitution controli.Methodname = “GetuserName”ii.<asp:substitutionMicro Caching idea6、Put in the caching in the very short time7、<%@ OutputCache Duration=”2”VarybyParam=”none”VarybyCustomer=”browser” %>8、Pre-request Cachingi.User request data in cacheii.http.context.current.item 1.put all data in the http.context.current.item

***experiences sharingone time do one big amendmenta.32 bit and 64 bit app pools can exist at the same timecooperate as early as possibleuse Web deployment tooluse tinyget and wcat to do the log playback

*** IIS set not need to do the metadatamachine config (.net) -> web.config (asp.net)

If Not (oFolders Is Nothing) Then Set oFolder = oFolders.GetFirst Do While Not (oFolder Is Nothing) 'ListFolderscontent oFolder If oFolder Is Nothing Then Set oFolder = oFolders.GetNext Else Exit Do End If Loop

*output - Debug.writeline("print every msg in line") - Debug.write("all the msg will connect in one line") - Debug.writelineif (Variable >0 , "this variable is bigger than 0") - debug.assert (true, "assert means if the condition is true, it will not show") - debug.assert (false, "so this line will be shown by the dialog box")

-resume means resume to the error happening codes and keep running - resume next runs from the next code line - resume label run from the label - err.raise number:=number using code to the upper level error handling