Recommend this
on Google+

Recommend this
on Google+

Wednesday, December 4, 2013

ASP.net + HTML5 + CSS3 - What can it do?

Sunday, December 1, 2013

Instructions how to extract code from a demo to make it work like stand-alone application

Instructions how to isolate this demo as a stand-alone application (removing the Quick Start Framework dependencies)

  1. Remove the irrelevant Register directives at the top of the page which are used for common QSF header/footer, SessionDataSource, configurators, etc. registration, namely:
    <%@ Register TagPrefix="telerik" Namespace="Telerik.QuickStart" %>
        <%@ Register TagPrefix="telerik" TagName="Header" Src="~/Common/Header.ascx" %>
        <%@ Register TagPrefix="telerik" TagName="HeadTag" Src="~/Common/HeadTag.ascx" %>
        <%@ Register TagPrefix="telerik" TagName="Footer" Src="~/Common/Footer.ascx" %>
        <%@ Register TagPrefix="sds" Namespace="Telerik.Web.SessionDS" %>
    
  2. Strip the corresponding tags (listed below) from the markup of the page:
    <telerik:Header …. />
        <telerik:HeadTag  …. />
        <telerik:Footer …. />
        <qsf:XXXXX   …./>
    
    along with the controls that reside inside those tags. Detach the event handlers of these controls and erase the client or server logic which is executed for them. The tag
    <qsf:ConfiguratorPanel … />
    
    is an exception and should be stripped by leaving its content on the page.
  3. This tag:
    <sds:SessionDataSource … />
    
    can be modified by replacing sds:SessionDataSource with asp:SqlDataSource and updating the signature of the data source’s commands and parameters accordingly. For example: Old definition
    <sds:SessionDataSource ID="SessionDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:NorthwindConnectionString %>"            
    ProviderName="System.Data.SqlClient" SelectCommand="SELECT ProductID, ProductName, CategoryID, QuantityPerUnit, UnitPrice, UnitsInStock, Discontinued FROM [Products]"
    DeleteCommand="DELETE FROM [Products] WHERE [ProductID] = ?" InsertCommand="INSERT INTO Products(ProductName, CategoryID, QuantityPerUnit, UnitPrice, UnitsInStock, Discontinued) VALUES (?, ?, ?, ?, ?, ?)"
    UpdateCommand="UPDATE [Products] SET [ProductName] = ?, [CategoryID] = ?, [QuantityPerUnit] = ?, [UnitPrice] = ?, [UnitsInStock] = ?, [Discontinued] = ? WHERE [ProductID] = ? AND [ProductName] = ? AND [CategoryID] = ? AND [QuantityPerUnit] = ? AND [UnitPrice] = ? AND [UnitsInStock] = ? AND [Discontinued] = ?"            
    PrimaryKeyFields="ProductID" OldValuesParameterFormatString="original_{0}" ConflictDetection="CompareAllValues">
    <DeleteParameters>
           <asp:Parameter Name="original_ProductID" Type="Int32" />
             </DeleteParameters>
                <UpdateParameters>
                    <asp:Parameter Name="ProductName" Type="String" />
                    <asp:Parameter Name="QuantityPerUnit" Type="String" />
                    <asp:Parameter Name="UnitPrice" Type="Decimal" />
                    <asp:Parameter Name="UnitsInStock" Type="Int16" />
                    <asp:Parameter Name="Discontinued" Type="Boolean" />
                    <asp:Parameter Name="original_ProductID" Type="Int32" />
                    <asp:Parameter Name="original_ProductName" Type="String" />
                    <asp:Parameter Name="original_QuantityPerUnit" Type="String" />
                    <asp:Parameter Name="original_UnitPrice" Type="Decimal" />
                    <asp:Parameter Name="original_UnitsInStock" Type="Int16" />
                    <asp:Parameter Name="original_Discontinued" Type="Boolean" />
                </UpdateParameters>
                <InsertParameters>
                    <asp:Parameter Name="ProductName" Type="String" />
                    <asp:Parameter Name="QuantityPerUnit" Type="String" />
                    <asp:Parameter Name="UnitPrice" Type="Decimal" />
                    <asp:Parameter Name="UnitsInStock" Type="Int16" />
                    <asp:Parameter Name="Discontinued" Type="Boolean" />
                </InsertParameters>
    </sds:SessionDataSource>
    
    New definition
    <asp:SqlDataSource ID="SessionDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:NorthwindConnectionString %>"
    ProviderName="System.Data.SqlClient" SelectCommand="SELECT ProductID, ProductName, CategoryID, QuantityPerUnit, UnitPrice, UnitsInStock, Discontinued FROM [Products]"
    DeleteCommand="DELETE FROM [Products] WHERE [ProductID] = @original_ProductID" InsertCommand="INSERT INTO Products(ProductName, CategoryID, QuantityPerUnit, UnitPrice, UnitsInStock, Discontinued) VALUES (@ProductName, @CategoryID, @QuantityPerUnit, @UnitPrice, @UnitsInStock, @Discontinued)"
    UpdateCommand="UPDATE [Products] SET [ProductName] = @ProductName, [CategoryID] = @CategoryID, [QuantityPerUnit] = @QuantityPerUnit, [UnitPrice] = @UnitPrice, [UnitsInStock] = @UnitsInStock, [Discontinued] = @Discontinued WHERE [ProductID] = @original_ProductID AND [ProductName] = @original_ProductName AND [CategoryID] = @original_CategoryID AND [QuantityPerUnit] = @original_QuantityPerUnit AND [UnitPrice] = @original_UnitPrice AND [UnitsInStock] = @original_UnitsInStock AND [Discontinued] = @original_Discontinued"
                OldValuesParameterFormatString="original_{0}" ConflictDetection="CompareAllValues">
                <DeleteParameters>
                    <asp:Parameter Name="original_ProductID" Type="Int32" />
                </DeleteParameters>
                <UpdateParameters>
                    <asp:Parameter Name="ProductName" Type="String" />
                    <asp:Parameter Name="QuantityPerUnit" Type="String" />
                    <asp:Parameter Name="UnitPrice" Type="Decimal" />
                    <asp:Parameter Name="UnitsInStock" Type="Int16" />
                    <asp:Parameter Name="Discontinued" Type="Boolean" />
                    <asp:Parameter Name="original_ProductID" Type="Int32" />
                    <asp:Parameter Name="original_ProductName" Type="String" />
                    <asp:Parameter Name="original_QuantityPerUnit" Type="String" />
                    <asp:Parameter Name="original_UnitPrice" Type="Decimal" />
                    <asp:Parameter Name="original_UnitsInStock" Type="Int16" />
                    <asp:Parameter Name="original_Discontinued" Type="Boolean" />
                </UpdateParameters>
                <InsertParameters>
                    <asp:Parameter Name="ProductName" Type="String" />
                    <asp:Parameter Name="QuantityPerUnit" Type="String" />
                    <asp:Parameter Name="UnitPrice" Type="Decimal" />
                    <asp:Parameter Name="UnitsInStock" Type="Int16" />
                    <asp:Parameter Name="Discontinued" Type="Boolean" />
                </InsertParameters>
    </asp:SqlDataSource>
    
    Note that basically the SessionDataSource is a Telerik home-grown SqlDataSource which stores the data in ASP.NETSession instead of directly in the database (as the regular asp SqlDataSource does). The code of the SessionDataSource is available at this default installation location (the path may vary if you choose other target installation folder):
    C:\Program Files\telerik\RadControls for ASP.NET AJAX QX 20XX\Live Demos\App_Code\SessionDataSource.cs
    
  4. In case you installed RadControls for ASP.NET AJAX trial or dev version, you can find their source code at this default installation location (the path may vary if you choose other target installation folder):
    C:\Program Files\telerik\RadControls for ASP.NET AJAX QX 20XX\Live Demos
    
    and run them from Start menu -> Programs -> Telerik -> RadControls for ASP.NET AJAX QX 20XX/RadControls for ASP.NET AJAX QX 20XX Live Examples shortcut.
  5. If you have an informational module with nested div tags and cssclasses named bigModule/bigModuleBottom, strip those nested divs as well because you do not need them.
  6. If the demo uses WebServices, LINQ to XXXX models, Entity Framework models, custom classes, etc., you can find those either under the respective example’s code viewer or at this default installation location (the path may vary if you choose other target installation folder):
    C:\Program Files\telerik\RadControls for ASP.NET AJAX QX 20XX\Live Demos\App_Code 
    
    Provided that you build your own sample web site, you need to copy the abovementioned WebServices, models, custom classes, etc. as is in the App_Code folder of that sample web site.
  7. The data sources used on the examples are placed either in the root demo folder or at this default installation location (the path may vary if you choose other target installation folder):
    C:\Program Files\telerik\RadControls for ASP.NET AJAX QX 20XX\Live Demos\App_Data
    
    Provided that you build your own sample web site, you need to copy the above mentioned data sources either in the root or in the App_Data folder of you sample web site and attach the SQL databases to your SQL server if you plan to use them.
Based on telerik aspnet framework. Courtesy of Telerik.

Friday, October 18, 2013

Verizon: Apple has an iPhone supply problem - Oct. 17, 2013

Verizon: Apple has an iPhone supply problem - Oct. 17, 2013

Verizon: Apple has an iPhone supply problem - Oct. 17, 2013


Courtesy from Verizon: Apple has an iPhone supply problem - Oct. 17, 2013

Verizon said Thursday it wasn't able to meet customer demand for new iPhones because of supply contraints.

Chief Financial Officer Fran Shammo told analysts on a conference call that Apple couldn't provide Verizon (VZ, Fortune 500) with enough iPhone 5S smartphones in the first weeks following its release, resulting in a backlog of orders.
That might not bode well for Apple's fourth-quarter financial report, which is due out on Oct. 28. While the company reported a record 9 million iPhone 5S and 5C model sales during the first weekend, this was, after all, the first time Apple (AAPL, Fortune 500) released its latest iPhone in the west and China simultaneously.

With the iPhone backlog, Verizon's 3.9 million iPhone activations in the third quarter were unchanged from the second quarter. The good news for Apple and Verizon: iPhone activations were up 26% from the same quarter a year ago. And whatever new iPhones Verizon customers couldn't buy in September simply got pushed over to the current quarter, Shammo said.

IPhone activations made up 51% of the 7.6 million smartphones Verizon customers activated between July and September.

Related story: Verizon bets big on U.S. wireless market

By the numbers: Overall, Verizon posted a strong third quarter. Shares traded 2% higher Thursday after the company beat analysts' expectations. Quarterly profit rose by 30%, while sales increased 4.4%.

At this pace, the telecommunications giant is on track to make 2013 nearly twice as profitable as 2012.
The good news about the lower-than-expected iPhone activations was that Verizon's closely watched wireless service profit margin improved to 51.1% -- well above analysts' forecasts. Verizon's wireless service margin typically sinks when Apple unveils a new iPhone, as the wireless company pays Apple hefty upfront costs to purchase the devices.

Verizon said it added 1.1 million customers, most of whom were on wireless accounts. The consumer shift to the latest mobile devices is ongoing, with smartphones making up 33% of phone purchases.
Shammo said the company continues to be affected by the government sequester's automatic spending cuts. Verizon's government contract business suffered a 3% decline compared to last year's third quarter, and the company expects that to keep being a drag. However, the drop in federal revenue was partially offset by an increase in some of the services Verizon provides to the U.S. government, such as storing highly-guarded information in its data centers.

This is the first financial report Verizon issued since the launch of its record-breaking $49 billion corporate bond sale. The funds will be used to help Verizon buy out Vodafone's 45% stake in Verizon Wireless for $130 billion. Shammo said the company expects to close the deal during the first three months of 2014.

Wednesday, October 2, 2013

How would it be if….

There are 2 ideas to share:

1. Send/Receive SMS/MMS etc., via Desktop interface
2. Remote access to mobile similar to remote desktop

Regards,
K Chandrasekhar Omkar

kcomkar@gmail.com
+91-9538856655

https://kcomkar.pip.verisignlabs.com/
http://omkarkc.blogspot.com

Saturday, July 13, 2013

Meltemi - Ulm



Meltemi Nokia's operating system in the development of their work in Ulm in Germany will lose employees have set up new abilities called for community work. Nokia made ​​the decision earlier this month to stop the development of the Meltemi and terminate a total of 10 000 employees.

  • This project is a Nokia Ulm people working in the creation,
  • The company announced the closure of Ulm office, many of us joined the group to plan for something that can help us achieve a better future, the manifesto continues.


Community to monitor its website and on Facebook, Twitter and LinkedIn. The Community shall inform one tiimiprofiileista investors and individual employees' CVs to companies who need a "real talent".
Financial information


Nokia Meltemi, the development of the employees involved have been visibly bitter decision to close down the company's operating system development.


Even in the spring of Nokia promised Ulmille rosy future, and the company finally decided, after being shelved Meltemi apparently already almost done.


But, Jolla is a company formed by individuals who are former employees of Nokia, and those who were part of that project.