Posts151 2020년 12월 16일 보호되어 있는 글 입니다. 2020. 12. 19. 2020년 12월 15일 보호되어 있는 글 입니다. 2020. 12. 19. Implementing Auth HPP redirect for Kentico MVC ShoppingCart (Actually done this time) HPP is Windcave Hosted Payment Page hosted on the Windcave secure payment network, merchants can redirect their customers to the Windcave HPP to safely and securely enter their payment details before being redirected back to the merchant’s website. Kentico CMS is a web content management system (WCMS) for building websites , online stores etc. Uses ASP.NET and ms SQL server for development The t.. 2020. 12. 19. Make post request in C# using HttpClient using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Net.Http; using System.Net; using System.Net.Http.Headers; using System.Text.Json; namespace TestHTTP { class TestingWindcaveSDK { private static readonly HttpClient client = new HttpClient(); static async Task Main() { await PostRequest(); } async static Task PostRequ.. 2020. 12. 19. Kentico Portal Engine results (obsolete) Kentico has two different systems. One old (that has persisted for longer than a decade), and one new (MVC, that's about to be the only system of Kentico). Here's as far as I could get to integrating shopping cart in Kentico Portal Engine. Kentico Portal Engine sucks. Don't use it. It's gonna be decomissioned in 2023 anyways. 2020. 12. 19. Screw you Kentico (Shoppingcart object in Kentico MVC) Shopping cart We can get current shopping cart by invoking GetCurrentShoppingCart() from IShoppingService instance Retrieving the current shopping cart | Kentico 12 Service Pack Documentation (xperience.io) This object is actually present in the controller classes, and our need is met in this part of the class: Where the instance is actually called mShoppingService! 2020. 12. 19. Getting started with C# (struggles) Here are the notes that I took while I was learning how to set up ascx file in C#. Ultimately, I wanted to make a web part (sort of like an iframe, but is able to execute a code). This was being researched without me even opening localhost server for Kentico. Ascx file is an ASP.NET file that can act as a web part (component) in a website that runs on ASP.NET The notes to follow are wrong, but I.. 2020. 12. 19. How to use Windcave REST API (through postman) [Part2 - Session] Session is a collection of transactions, and allows for ‘lazy’ completion of a sequence of transactions. It’s mainly used for HPP, where user can enter card details on the redirected Windcave-hosted payment website (instead of transaction, where user has to supply card at the time where purchase/auth is made). We can create a session for two types (excluding validate): - Auth - Purchase Here’s a.. 2020. 12. 19. How to use Windcave REST API (through postman) [PART1: Transaction] API kinda sounded scary, but actually playing with the Windcave REST API helped me get much more insight into what REST API's are, and I can now more or less comfortably use it. I don't claim to know much, but I think I have a much better understanding of them now. In REST API, you have four things you can do. But focusing on two operations (creating an object in the database, and querying an ob.. 2020. 12. 19. Parallel parking, Three point turn, other things 리스트릭을 따려고 한 3주 전 부터 운전을 부모님께 배우기 시작했다. 아직 많이 부족하지만 다음주 월요일에 시험을 보기로 했다. 오늘은 토요일인데, 전문적으로 가르치시는 한국인 분께 2시간 반 정도 주행실습 연습을 받았다. 130불을 냈다. 일단 난 parallel parking 이나 three point turn 같은 것은 아예 할 수 없는 상태였고, 그냥 운전은 타카푸나나 시티까지 갈 수 있을 정도이다. 실습 연습을 받으면서, 어느정도 중요하다 느낀 포인트 (혹은 강조된 포인트들)을 여기다가 적어보려고 한다: STOP에서 완전히 선다. 스피드 40이상 유지, 50에 가까이. 두 차선에 진입하려면 두 차선 모두 깨끗해야함 너무 차 막히면 플러시 이용 가능 10초마다 한번씩 백미러 보기 레인 바꿀 때 목.. 2020. 12. 5. Ternary operator, i<=m, Math.max() So TODAY!!! I've done a leetcode medium problem, which has a success rate of around 36 percent (so it's quite low!) Here's my intial pseudocode: 1. enumerate all the possible areas 2. take the maximum There were two problems: Scalability: it's not feasible to calculate every area Handling of edge cases is unnecessarily complicated, as there are many combinations of inputs (when array is empty, w.. 2020. 12. 5. 이전 1 ··· 5 6 7 8 다음