Posts

what is activation scoping in assemblies?

hi all, i have started dotnet framework.im understanding assemblies ,in framework documentaion ,i have come across naming " activation scoping ".could elaborate on that? thanks in advance santosh kumar scoping process in scope of member determined. example, may have noticed can select block of text in vs.net , press ctrl-f key perform find-and-replace operation on block of selected text only. possible via process called scoping. vs.net knows search , replace text have selected - text has been scoped via scoping. it's process of "grouping" related set of data. scoping refers scope of code within brackets, c#. code outside of brackets in c# "out of scope". now, "activation scoping" refers clr's ability uniquely identify activated assemblies in memory. just remember "activation" refers just-in-time compiler (jitter) ability "activate" assembly and/or type , "scoping" refers logical "grouping...

Urgent: XmlSerialize an object of a class that inherit from a unserializable Class.

i have custom window control based on tabpage, inherit tabpage, , has properties need saved, need save properties appear in custom window control, , not properties inherited. i want because first don't need others properties, second because there error xmlserializer can't serialize "myobject.*.site" property (issued component) so need know if can done, if yes, how ? thanks in advance msdn : "another option use special pattern create boolean field recognized xmlserializer , , apply xmlignoreattribute field. pattern created in form of propertynamespecified . example, if there field named "myfirstname" create field named "myfirstnamespecified" instructs xmlserializer whether or not generate xml element named "myfirstname". shown in following example."   so can try create boolean mentioned above , set false properties not want serialized.   also, can use ixmlserializable. ...

After enabeling Anonymous access in SharePoint 2013 , Apps stops opening up, cann not be removed and visual studio cannot find site

hi we have windows 2012 -r2 server, sharepoint 2013 , sql server. i had develop primitive apps , used work before enable anonymous access in central admin. central admin got stuck when select anonymous access, after refreshing page option selected. i went sharepoint site apps deployed, clicked on them , got co-relation id error. removed apps , not remove , gives error ,"error in removing apps" i try deploy app again , gives error same instance of apps still exist. so try remove again login administrator , can not open site , gives "500 internal server error" i try deploy same app visual studio 2015, , gives error " cannot contact site @ specified url http://xxxx/xxxx/xxxx jrs this has been resolve going iis , starting iis services. jrs SharePoint  ,  ...

VM Scale Sets in TP3

Image
i have seen various twitter feeds folks provisioning vm scale sets in tp3.  see vm scale sets in portal, when try add one, following.  missing fundamental, or vm scale sets not yet available in publicly released tp3 code?  sorry, all.  i'll answer own question.  it's in known issues section of poc documentation: there no marketplace experience creating vm scale sets, though can created via template. thanks, mike Microsoft Azure  ,  Development  >  Azure Stack

Drag and Drop between two CustomContactList problem

Image
hello i'm building small wpf app want drag , drop items between 2 customcontactlist. i want when drag contact has moved list , not copied. , code don't permit me this. here sample of screenshot : //event handler mouse down of listbox. //this start drag drop operation private void mousedownhandler(object sender, mousebuttoneventargs e) { customcontactlist parent = (customcontactlist)sender; //set drag source can //remove item once item dropped on listbox firstlist = parent; //get object source selected item object data = getobjectdatafrompoint(parent, e.getposition(parent)); //if data not null start drag drop operation if (data != null) dragdrop.dodragdrop(parent, data, dragdropeffects.all); } //event handler drop event of listbox private void drophandler(object sender, drageventargs e) { customcontactlist parent = (customcontactlist)sender; //get data arguments. //we specify typeof string since know our data type object data = e.data.getdata(type...

Mobile service automatic table creation

i want mobile service able add tables service there needed example new user might need separate tables  for profile info, games involved , list of friends. far haven't been able see examples of this, asking or else. have looked @ management portal , able add tables mobile applications schema test app created says table doesn't exist. dynamically increase tables think still achieve result want stored procedures (which don't have experience with) , mssql object. there built in easier way? want know because told tables cheaper databases id go down route if possible. thank you when create tables in underlying sql server database, have create table same name in azure mobile services "data" tab, automatically wire underlying sql server table , can use through azure mobile services data approach. tables not cheaper databases... azure mobile service tables sql server tables underneath. hope answers question? ...

Enumeration list EDI 820 Schema 00501X306

hi, can me out, after adding values enumeration list in edi 820 schema, schema validation fails. thanks   error : native parsing error: non segment level  : [5] x12_00501_820\n1_subloop\ element 'n1_subloop' in namespace 'http://schemas.microsoft.com/biztalk/edi/x12/2006' has incomplete content. list of possible elements expected: 'http://schemas.microsoft.com/biztalk/edi/x12/2006:ts820_1000b_loop'. based on error description giving appears n1_subloop missing mandatory ts820_1000b_loop element. can check elements required checking minoccurs property on schema. glenn colpaert - mcts biztalk server - blog : http://blog.codit.eu BizTalk Server  >  BizTalk Server EDI and AS2