I am facing the situation in which i have to expose a dll (managed) through web services. Basically make everything from dll accessible to other applications through web services. The dll is a third party and i cannot give any other info on it , but my problem would not depend on this details.
I am looking for the latest best practices (latest tech) approach on how to start this. One thing i have been documented over was Web Service Software Factory, but i do not know how good would this approach be for my situation, and i would welcome some ideas based on experience ofc. The top things i liked and need in my project about the WS Factory were : SOAP faults handling , Entity Translator , Versioning (covering both forward and backward compatibility).
How to Find All the Web Services and Windows Services Running on a Server in ASP.Net. I have the server details with me and want to find all the Web services running on it.
I am using Visual Studio 2010 Release candidate1. I have to deploy my web application which consists of a website, certain window services, certain WCF services and Sql Server 2005 database.I read Vishal Joshi's blog(http://vishaljoshi.blogspot.com/2009/09/overview-post-for-web-deployment-in-vs.html) detaing Web Package in VS2010. I want to know how to deploy window services and WCF services using Web Package. Also, I want to create a web setup (.msi) for deployment instead of Web Package so that the .msi takes care of all the application and database deployment like the web package does.
I am using HTML controls while using Ajax in my .net project. Now I want to make my text box to be autocomplete. I am fetching a data using a query for the respective typed text but i am not sure how to bind that data to text box and show it the way it is being displayed in google and other famous sites. I would also love to know the way using web services. Which way is more efficient?
This works great, and it works how I want it to... But... I have lot's of methods that have this attribute. Is there a way I can wrap this some how so I can just say ([CustomBind] MyListObject theList)?I of course tried to extend it, but the class is sealed.
i've been learning MVC now for 2 days, but I still can't wrap my head around it. ASP.NET MVC feels like learning Mandrin Chinese. So, I understand Classic ASP.NET and using an N-Tier archetucture, but how would you apply that to MVC? I comprehend View (the UI), Controller (the pipeline to the Model and View), and the Model (where your code goes), but how would you apply an N-tier to MVC? Or, a replica of the DAL? Yeah, it might be a stupid question, but I am not understanding the Framework. Does anyone have an article(s) that cleared your understanding of MVC? Maybe I need to buy a book....
I have a datagrid include 10 columns,and the eighth column is the template column created by asp label .Now I would like to display long text string and wrap the text in this template column .I used the property " itemstyle-wrap=true" in my page ,but can not work .
I would like to know how I can create a class that consists of my database connection and then how I can call that class within my C# code. Consider simple database call as follows,
I'm working in a Repeater over blog posts and I'm displaying a ShareThis JavaScript piece at the bottom. The Title and URL of the post are being sent to JS. In one test case, the title of a post has a single quote, e.g. Mark's test post Since I need to preserve that single quote when being sent to ShareThis, I need to wrap that JavaScript string in double quotes, however the string is being bound via a Literal and I cannot wrap the literal in double quotes: This is want I want but DOES NOT WORK:
I am migrating a static web page written with ASP.net Web Forms to a more dynamic ajax page. I'm curious if there is a way to quickly wrap any links in my domain that don't cause postbacks to simply load inside of an UpdatePanel instead of reloading the page (maybe capturing in-domain clicks and causing a postback on the wrapping UpdatePanel?).
I've got a UserControl that is essentially just a TextBox with optional built-in validators to it. At the moment this is just a RequiredFieldValidator and RegexValidator. It's easy to just expose properties on the UserControl which get passed through to these validators and allow me to set the RegEx for example.
Now I'd like to add a CustomValidator and allow the user to add a server-side validation function... and this is causing me some trouble. What is the proper syntax for this? I tried just adding a ServerValidateEventHandler property, but when I try to use this I get a runtime error:
Cannot create an object of type 'System.Web.UI.WebControls.ServerValidateEventHandler' from its string representation 'valState_ServerValidate' for the 'ServerValidate' property.
Do I need to expose a delegate in some other way? This should be easy... I'm missing one little key. I'm trying to add a CustomValidator to a page which uses the UserControl... I want the user to specify a handler for custom validation on the usercontrol itself. (yes, it's a bit of a Frankencontrol)
On my desktop the application when showing the gridview does not wrap cells. Now when I publish the application to the (internal) web server it wraps some of the cells. I have set the wrap attribute = false but does not seem to work. Running IE8.
i am having a boundfield column and in that column if i entered a string(without spaces) of length 15, there is no problem. But if the string is more than 15, the text is not wrapped. I gave the command column.ItemStyle.Wrap=true; But its not working. I have fixed the width of the column. How to wrap the text in the boundfield if a string more 15 characters.
I have been looking for an answer to this for awhile and haven't found what I am looking for. I have a GridView with 5 columns. One of those columns is a very long string with instead of " ". I need to be able to fix the width of the column and have word wrap take care of the string till the end of it. I have tried all the properties on the gridview to get what I need but the span always stretches out horizontally and never wraps. Here is my gridView code
I am in VS2008 Report rdlc Design tab and my report has drill down function. One item being drilled down on is Country. However, when user drilled down, the cell become 2 rows like this:-
United States Of American
I do not want it to be 2 rows but want to expand its length to make it one line on expand. In Gridview etc there is a property Wrap but when I click the cell I do not find this property in this cell property in the report designer. What can I do ?
I thought that I could use a div with an image in it to wrap across the top of a master page by placing it in the <body>. THen superimpose another garphic on it but the way I am doing this covers the content place holders - what is wrong with this code?
Master pages wrap (with images) is not visible for some pages in the website. All pages in a members only folder are not inheriting the master page lay out. It looks like I need to specify the path somewhere due to the folder structure. What am I doing wrong? Thanks for your help. I have Images folder in the root, few pages that work as expected in the root and then couple pages in the Members only folder.Problem is with these members only webpages.