Choosing the Right Tool for the Job Up in the Cloud Developer Days 2010 Choosing the Right Tool for the Job Up in the Cloud ® 2010 Autodesk
Choosing the Right Tool for the Job Up in the Cloud
Nondisclosure Agreement Today’s discussion is covered under your ADN Agreement with Autodesk. The information we will be providing is highly confidential, and is to be shared within your company on “need to know basis” and to NO ONE outside your company. Autodesk makes no guarantees that anything presented or discussed will actually appear in the future.
Cloud Computing and SaaS – AEC Why? When? Examples in AEC context What is it? Getting Started Experiment: Aec material info client This session comes before we conclude the AEC breakout session. Quick recap from the morning session. In the morning session, We talked about what cloud computing is, what SaaS is. Jim talked about why SaaS. Gopi talked about more on technical side how to get started and he shared his own experience with Windows Azure and Amazon Web Services (You may add more about Cloud and SaaS here if you want.) We’ll show our first baby step experiment: Aec Material info client example, Jeremy’s recording comes here Examples from the AEC products (buzzsaw, green building studio, bluestreak.) some of these overlaps with Jim’s talk. Reiterating the message – start experimenting, start thinking about it.
Experiment: Aec material info client Our the first baby step experiment Sharing our experience Nothing specific to product API’s
Experiment: Aec material info client First reading Cloud Computing – SaaS by Bhaskardeep Khaund http://www.codeproject.com/KB/webservices/CloudSaaS.aspx Hello Windows Azure by Bhavik1st http://www.codeproject.com/KB/dotnet/HelloAzure.aspx?azid=74 SaaS Architecture Workshop by Fred Chong, Gianpaolo Carraro, Erik Weis and Matias Woloski http://litwarehr.codeplex.com/wikipage?title=SaaS%20Architecture%20Workshop%20070402&referringTitle=Home * a bit old, but gives you an idea and an outline In addition to what Gopi suggest, These are ones that suggested our colleagues. A bit old, but gives you an idea.
Experiment: Aec material info client AEC material web service http://adnmonitor.cloudapp.net/aecinfoservice.svc AEC material web site http://gthelloazure.cloudapp.net/aecmaterialinfo.aspx Gopi created a web service and a web site
This is how web services look like
Gopi created a web service and a web site
svcutil /t:code http://adnmonitor. cloudapp. net/aecinfoservice. svc svcutil /t:code http://adnmonitor.cloudapp.net/aecinfoservice.svc?wsdl /out:AecInfoServiceAsync.cs /config:AecInfoServiceAsync.config /async you can generate the proxys and configs using the command line commands:
static AecInfoServiceClient _aecSvrClnt = null; // For AEC Database // Initialise cloud service client. // static public void InitialiseServiceClient() { if( null == _aecSvrClnt ) System.ServiceModel.Channels.Binding binding = new BasicHttpBinding(); EndpointAddress a = new EndpointAddress( "http://adnmonitor.cloudapp.net/AecInfoService.svc?wsdl" ); _aecSvrClnt = new AecInfoServiceClient( binding, a ); } Here is the implementation of code that instanciate and initializes the server client. Read the code.
double cost = _aecSvrClnt double cost = _aecSvrClnt.GetCostPerUnit( matName, matSpec, matUnit, region ); _aecSvrClnt.UpdateAecMaterialInfo( matName, matSpec, matUnit, region, cost ); Aec info service client has Two methods The service provides two methods, one for getting cost-per-unit and the other for updating the database. Here are the method signatures: AEC Service methods: double GetCostPerUnit(string matName, string spec, string unit, string region); void UpdateAecMaterialInfo(string matName, string spec, string unit, string region, float cost);
Demo Jeremy’s recording comes here.
Cloud Computing and SaaS – AEC Why? When? Examples in AEC context What is it? Getting Started Experiment: Aec material info client
Nondisclosure Agreement Today’s discussion is covered under your ADN Agreement with Autodesk. The information we will be providing is highly confidential, and is to be shared within your company on “need to know basis” and to NO ONE outside your company. Autodesk makes no guarantees that anything presented or discussed will actually appear in the future.
Choosing the Right Tool for the Job Up in the Cloud
Choosing the Right Tool for the Job Up in the Cloud Developer Days 2010 Choosing the Right Tool for the Job Up in the Cloud ® 2010 Autodesk