Category: ASP.NET MVC

  • MVC Browser history provider for azure–trying an implementation for 3 hours

    first,implement  IBrowserUserHistoryRepository  – that means implement: public void Save(IEnumerable<BrowserUserHistoryData> history)   Azure have PartitionKey/RowKey – I have to add a new class. Also or connectiing,I have to put   connectionString="UseDevelopmentStorage=true;" /   I tried to add a bulk history : tableHistory.ExecuteBatch(batchOperation); The result was: Unexpected response code for operation : 0 Magic: <add key="TableStorageEndpoint" value="http://127.0.0.1:1002/"/>…

  • Browser history–part 5–conclusions

    This is the part 5 of 5 of my implementing of a MVC Browser history MVC browser history – idea Browser history –2 – implementing,small bugs Browser history 3–trying to Nuget – modifications in order to can be transformed from an application to a component Browser history 4–NuGet again -  finally Nuget deployment Browser history–part…

  • Browser history 4–NuGet again

    This is the part 4 of 5 of my implementing of a MVC Browser history MVC browser history – idea Browser history –2 – implementing,small bugs Browser history 3–trying to Nuget – modifications in order to can be transformed from an application to a component Browser history 4–NuGet again – finally Nuget deployment Browser history–part…

  • Browser history 3–trying to Nuget

    This is the part 3 of 5 of my implementing of a MVC Browser history MVC browser history – idea Browser history –2 – implementing,small bugs Browser history 3–trying to Nuget – modifications in order to can be transformed from an application to a component Browser history 4–NuGet again – finally Nuget deployment Browser history–part…

  • Browser history -2

    This is the part 2 of 5 of my implementing of a MVC Browser history MVC browser history – idea Browser history –2 – implementing,small bugs Browser history 3–trying to Nuget – modifications in order to can be transformed from an application to a component Browser history 4–NuGet again – finally Nuget deployment Browser history–part…

  • MVC browser history

    This is the part 5 of 5 of my implementing of a MVC Browser history MVC browser history – idea Browser history –2 – implementing,small bugs Browser history 3–trying to Nuget – modifications in order to can be transformed from an application to a component Browser history 4–NuGet again – finally Nuget deployment Browser history–part…

  • String Truncate in MVC

    I always wanted a string truncate  – i.e.,if you have a long string,to have “show less” and “show more”. So I have decided to do it . 1. See in action first: And after click: 2. How can you use in your MVC projects: Add in your project the \Views\Shared\DisplayTemplates\StringTruncate.cshtml file ( in this folder!)…

  • Clearer as Nuget package

    It was not so difficult to make Clearer as NuGet package. Just analyzing MVC Sitemap package done the trick. So the package looks like:   You can install from http://nuget.org/packages/Clearer or download a sample application  http://clearer.codeplex.com ( What he does ? In every application there are some variables that are set by the ASP.NET application(…

  • Clearer MVC

    In every application there are some variables that are set by the ASP.NET  application(  ASP.NET_SessionId  cookie ) and some that are set by the programmer( cached data in Application/Session/Cache/Cookies and so on). I wanted every time to have a page where I can “clear” / delete those – and not found. So it’s the Clearer…

  • Usual Methods to transfer data from Page To Page in ASP.NET MVC

    Preamble: In ASP.NET ( like in PHP and other Web frameworks) there are 2 clear entities: Server ( code on the WebServer ) and Client( the HTML interpreted by the browser and javascript). Server and Client shares same cookies – means Client and Client both can read and write cookies. Transfer from the Client to…