This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- | |
add the leadmachine javascript to ALL pages on the site (so it can track cookies across the entire site) | |
<script type="text/javascript" src="http://operad.net/lm.js?lang=en"> | |
// Operad LeadMachine tracker. | |
</script> | |
--> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="pic_wrapper"> | |
<a href="http://twiter.co.il/ramimeiri/seminar/%d7%a6%d7%99%d7%91%d7%95%d7%a8-%d7%95%d7%97%d7%99%d7%a0%d7%95%d7%9a/"> | |
<div class="pic"> | |
<img width="287" height="173" src="http://twiter.co.il/ramimeiri/wp-content/uploads/ציבור-וחינוך-287x173.jpg" class="attachment-portfolio-3-column wp-post-image" alt="ציבור וחינוך" title="ציבור וחינוך"> | |
</div> | |
</a> | |
<div class="pop_description1"> | |
<a href="http://twiter.co.il/ramimeiri/seminar/%d7%a6%d7%99%d7%91%d7%95%d7%a8-%d7%95%d7%97%d7%99%d7%a0%d7%95%d7%9a/" title="ציבור וחינוך"> | |
<img src="http://twiter.co.il/ramimeiri/wp-content/themes/cleancreative-theme/images/icon_zoom.png" alt=""> | |
</a> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
namespace glikm.com | |
{ | |
public class Main() | |
{ | |
Foo foo = new Foo { foo = "Foo" }; | |
public void MoreFoo(Foo foo) | |
{ | |
foo != null | |
? Console.WriteLine("Yay more Foo!") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
IENumerable<ExampleProject1.Models.Book> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<h2>BookList</h2> | |
<% foreach (var book in Model) { %> | |
<div> | |
Book Id: <%:book.Id%> | |
Book Author: <%:book.Author%> | |
Book Name: <%:book.Name%> | |
</div> | |
<% } %> | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
private readonly IEBookRepository _bookRepository; | |
public HomeController(IEBookRepository bookRepository) | |
{ | |
this._bookRepository = bookRepository; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
return View("BookList",_bookRepository.ListEBook()); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ViewEngines.Engines.Clear(); | |
ViewEngines.Engines.Add(new SparkViewFactory()); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<section name="spark" type="Spark.Configuration.SparkSectionHandler, Spark"/> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<spark> | |
<compilation debug="true" /> | |
<pages automaticEncoding="true"> | |
<namespaces> | |
<add namespace="System.Collections.Generic"/> | |
<add namespace="System.Web.Mvc.Html"/> | |
<add namespace="System.Web.Mvc" /> | |
<add namespace="System.Web" /> | |
<add namespace="System" /> |
OlderNewer