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
<#@ template debug="false" hostspecific="true" language="C#" #> | |
<#@ assembly name="System.Core" #> | |
<#@ assembly name="System.Xml" #> | |
<#@ assembly name="System.IO" #> | |
<#@ assembly name="System.Data" #> | |
<#@ assembly name="System.Configuration" #> | |
<#@ assembly name="Microsoft.SqlServer.ConnectionInfo" #> | |
<#@ assembly name="Microsoft.SqlServer.Smo" #> | |
<#@ assembly name="Microsoft.SqlServer.Management.Sdk.Sfc" #> |
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
using System; | |
using System.Diagnostics; | |
using System.IO; | |
namespace kmonitor | |
{ | |
class Program | |
{ | |
private static DateTime _lastRead = DateTime.MinValue; |
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
<%@ Page Language="C#" AutoEventWireup="true" %> | |
<script runat="server"> | |
[System.Web.Services.WebMethod] | |
public static string[] GetData(string q) | |
{ | |
var result = new[] { @"ActionScript", "AppleScript", "Asp", "BASIC", "C", "C++", | |
"Clojure", "COBOL", "ColdFusion", "Erlang","Fortran", "Groovy","Haskell", | |
"Java", "JavaScript", "Lisp", "Perl", "PHP", "Python","Ruby", "Scala", "Scheme" }; |
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
using System; | |
using System.Text; | |
using System.IO; | |
using System.Net.Sockets; | |
using System.Net; | |
using System.Web.Mail; | |
namespace mySMTP | |
{ | |
/// <summary> |
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
/*! blanket - v1.1.9 */ | |
if (typeof QUnit !== 'undefined'){ QUnit.config.autostart = false; } | |
(function(define){ | |
(function(f){if(typeof exports==="object"&&typeof module!=="undefined"){module.exports=f()}else if(typeof define==="function"&&define.amd){define([],f)}else{var g;if(typeof window!=="undefined"){g=window}else if(typeof global!=="undefined"){g=global}else if(typeof self!=="undefined"){g=self}else{g=this}g.acorn = f()}})(function(){var define,module,exports;return (function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o<r.length;o++)s(r[o]);return s})({1:[function(_dereq_,module,exports){ | |
// The main exported interface (under `self.acorn` when in the |
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
@{ | |
ViewBag.Title = "Index"; | |
} | |
<div class="gridster"> | |
<ul> | |
@*<li id="widget1" data-row="1" data-col="1" data-sizex="1" data-sizey="1"></li> | |
<li id="widget2" data-row="2" data-col="1" data-sizex="1" data-sizey="1"></li> | |
<li id="widget3" data-row="3" data-col="1" data-sizex="1" data-sizey="1"></li> |
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
@{ | |
ViewBag.Title = "Chat"; | |
} | |
<input id="txtMessage" style="width:40%" /> | |
<input id="cmdSend" type="button" value="Send" /> | |
<input id="cmdLeave" type="button" value="Log out" /> | |
<br /> |
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
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Microsoft.AspNetCore.Builder; | |
using Microsoft.AspNetCore.Hosting; | |
using Microsoft.AspNetCore.Http; | |
using Microsoft.Extensions.DependencyInjection; | |
using Microsoft.Extensions.Logging; | |
using WebApp2.Middlewares; |
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
; Script generated by the Inno Setup Script Wizard. | |
; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES! | |
#define MyAppName "dotnet core windows service" | |
#define MyAppVersion "1.5" | |
#define MyAppPublisher "dotnetthoughts" | |
#define MyAppURL "http://dotnetthoughts.net/" | |
[Setup] | |
; NOTE: The value of AppId uniquely identifies this application. |
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
<h1>This is a view component</h1> | |
<!-- | |
Make sure the path is correct, Views > Shared > Components > [Component Name] > Default.cshtml | |
SampleApp2\Views\Shared\Components\HelloWorld\Default.cshtml | |
--> |
OlderNewer