Thank you very much for response. Fireworks outputs a png file. So in my opinion it is rather helpful for graphic designers. Photoshop is large-caliber gun, while Fireworks can speed up your time over Photoshop in small projects. But is still outputs png, so it doesn't speed up developer's work. Am I correct?
Yoyosch
Posts
-
PSD to ASPX -
PSD to ASPXI am developing many small web sites. Could you please recommend me an application that could speed up my work. Ideal would be if it could take PSD file and produce ASPX files as output. I know this is very complex issue and I could loose generality using it. But I am asking for an application that could speed up my work even a bit. Thank you in advance
-
ASP.NET usefull controlsI am going to develop application in ASP.NET MVC. I know there are no rich controls. Could you please recommend me good controls for that (datagrid, calendar, scheduler, numeric textbox, etc.)? Thanks in advance
-
ASP MVC update panelHow to use update panels in asp.net mvc? What is the best practice and library for that?
-
WPF: listbox not refreshingListbox contains expanders and each of them has different size. The problem is not growing. The problem is to shrink listbox after collapsing expander.
-
Linq To SQL - My ThoughtsLinq2Sql is dead indeed, but it has been completed. Theres nothing to be done more. So I cannot consider this as a disadvantage. EF is much more complex and difficult to use. It also has lots of bugs. Linq2Sql is a perfect choice for smaller applications. What about larger apps? EF is also quite slow. In some scenarios ADO.NET could just be better choice. NHibernate? It almost doesnt have any sensible documentation, tutorials, showhows. It is the worst possible choice in my opinion.
-
WPF: listbox not refreshingI have a listbox in which I'm keeping several expanders. At the beginning all expanders are collapsed. The height of the listbox is just enough to show them all. After I expand one of those expanders, the height of listbox is increased accordingly. However, when I collapse this expander, height of the listbox remains unchanged, leaving huge white space. How to refresh listbox size? Thank for help in advance
-
basicHttpBinding configurationI want to host WCF web service in my windows application. So far I succeeded with the following configuration: <system.serviceModel> <bindings> <wsHttpBinding> <binding name="NewBinding0" /> </wsHttpBinding> </bindings> <services> <service name="VegasWebServiceLibrary.VegasService" behaviorConfiguration="VegasWebServiceLibrary.Service1Behavior"> <host> <baseAddresses> <add baseAddress="http://11.11.11.11:1111/" /> </baseAddresses> </host> <!-- Service Endpoints --> <!-- Unless fully qualified, address is relative to base address supplied above --> <endpoint address="" binding="wsHttpBinding" contract="VegasWebServiceLibrary.IVegasService"> <!-- Upon deployment, the following identity element should be removed or replaced to reflect the identity under which the deployed service runs. If removed, WCF will infer an appropriate identity automatically. --> <identity> <dns value="localhost"/> </identity> </endpoint> <!-- Metadata Endpoints --> <!-- The Metadata Exchange endpoint is used by the service to describe itself to clients. --> <!-- This endpoint does not use a secure binding and should be secured or removed before deployment --> <endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange"/> </service> </services> <behaviors> <serviceBehaviors> <behavior name="VegasWebServiceLibrary.Service1Behavior"> <!-- To avoid disclosing metadata information, set the value below to false and remove the metadata endpoint above before deployment --> <serviceMetadata httpGetEnabled="True"/> <!-- To receive exception details in faults for debugging purposes, set the value below to true. Set to false before deployment to avoid disclosing exception information --> <serviceDebug includeExceptionDetailInFaults="False" /> </behavior> </serviceBehaviors> </behaviors> </system.serviceModel> I would like however to use basicHttpBinding instead. I dug Web pretty carefully for a corre
-
PayPal problemThis post relates only to Express Checkout using web service and ASP.NET/C#. I downloaded great sample application from http://www.codeproject.com/KB/aspnet/paypal\_c\_aspnet.aspx. I reconfigured it so that it would use my own test accounts on developer.paypal.com and it worked perfectly. Cash was substracted from client's account and added into business account. The problem began, when I deleted the web service reference and added exactly the same reference afterwards (referencing the same address: https://www.sandbox.paypal.com/wsdl/PayPalSvc.wsdl). This brought compile error in the following code snippet:
DoExpressCheckoutPaymentRequestDetails = new DoExpressCheckoutPaymentRequestDetailsType() { Token = resp.GetExpressCheckoutDetailsResponseDetails.Token, PaymentAction = PaymentActionCodeType.Sale, PayerID = resp.GetExpressCheckoutDetailsResponseDetails.PayerInfo.PayerID, PaymentDetails = new PaymentDetailsType() { OrderTotal = new BasicAmountType() { currencyID = CurrencyCodeType.USD, Value = "10.00" } }, }
PaymentDetails is not of type PaymentDetailsType anymore. Now it became of type PaymentDetailsType[]. So I rewritten the code as follows:DoExpressCheckoutPaymentReq payReq = new DoExpressCheckoutPaymentReq() { DoExpressCheckoutPaymentRequest = new DoExpressCheckoutPaymentRequestType() { Version = UtilPayPalAPI.Version, DoExpressCheckoutPaymentRequestDetails = new DoExpressCheckoutPaymentRequestDetailsType() { Token = resp.GetExpressCheckoutDetailsResponseDetails.Token, PaymentAction = PaymentActionCodeType.Sale, PayerID = resp.GetExpressCheckoutDetailsResponseDetails.PayerInfo.PayerID, PaymentDetails = new PaymentDetailsType[]{ new PaymentDetailsType() { OrderTotal = new BasicAmountType() { currencyID = CurrencyCodeType.USD, Value = "1.00" },
-
ADO.NET almost nullable columnSure sure, its the best to write everything in assembler or even machine code. Such approach is senseless. ADO's designer saved me a lot of time during many years, this is first time it fails. Still a very good result.
-
ADO.NET almost nullable columnI have a table in my DB containing a column of type Datetime, which allows null values. I created DataSet on which I drag&droped this table. Everything was fine, DataTable with TableAdapter have been successfully created and are both working. When I select this column in this DataTable (on designer surface) it shows in properties that this column is indeed nullable (AllowDBNull: True). However ADO.NET generated false code for this example. Look at the following code:
var t= new ABCTableAdapter().GetData(); ticket[0].MyNullableColumn -> this return 'Datetime' instead of 'Datetime?'.
If a given record in DB has indeed null value in this column, then such code generates "StrongTypingException". So this is quite clear that ADO.NET made some mistakes in code generation. I tried deleting all DataSet and recreating it from scratch. Also I`m sure that my column really allows null values as some records have such value in this column. Could you please help me and tell how am I supposed to force ADO.NET to generate this code properly? I want the following code to compile:if (t[0].MyNullableColumn != DBNull.Value) {...}
-
CLR stored procedure cross base accessI implementd CLR stored procedure on 'Database1'. I would like to perform some UPDATE statements inside this CLR stored procedure in 'Database2'. Is is possible? If so, then how?
-
ADO.NET cross-base transactionsThank you very much for help
-
ADO.NET cross-base transactionsdont make rubish on the forum
-
ADO.NET cross-base transactionsI made a simple transaction using ADO.NET:
SqlTransaction tn; SqlConnection cn = new SqlConnection(/*connection string to 'Database1'*/); try { if (cn.State != ConnectionState.Open) { cn.Open(); } } catch (SqlException ex) { Debug.Assert(false, ex.ToString()); } tn = cn.BeginTransaction(); SqlCommand cmd2 = ...
This works nicely. However I would like to make some update statement in other database - 'Database2'. Is it possible to do that inside one ADO.NET transaction? If so, how? Thank you for help in advance. -
CLR stored procedure cross base accessI implementd CLR stored procedure on 'Database1'. I would like to perform some UPDATE statements inside this CLR stored procedure in 'Database2'. Is is possible? If so, then how?
-
Custom membership providerIt is using my custom implementation - otherwise loggin feature would not work
-
Custom membership providerI implemented custom membership provider by deriving from MembershipProvider class. I added login control to my web page and associated my membership provider with my custom database, where I`m keeping all users. This works great. Whats more, I would like to enable 'Change password' scenario by using the standard ASP.NET control. I created dedicated web page for it and put this control onto form. When I`m willing to change my password (after I logged in to my web application), GetUser(string username, bool) method is being called from my custom membership provider. It`s cool, but why I`m getting my OS login name instead of the login which I used to log onto my web site? In other words: assume that I logged into my web application with {user: User1, password: qwert} credentials. I expect that GetUser method will pass 'User1' as a first argument. Currently it passes '[domainName]/[WindowsLoginName]'. I believe there is some magical switch in IIS (I`m using v7.5) or web.config file. Could you please help me?
-
Initializing ASP.NETTnx, it was exactly what I asked for. Thank you
-
Initializing ASP.NETThis will not work as user may start my application from different page